| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Blocked on googleapis/protoc-java-resource-names-plugin#28. |
Sorry, something went wrong.
|
PTAL |
Sorry, something went wrong.
Codecov Report
@@ Coverage Diff @@
## master #46 +/- ##
============================================
+ Coverage 60.23% 61.01% +0.78%
- Complexity 140 145 +5
============================================
Files 14 14
Lines 606 613 +7
Branches 91 92 +1
============================================
+ Hits 365 374 +9
+ Misses 219 215 -4
- Partials 22 24 +2
Continue to review full report at Codecov.
|
Sorry, something went wrong.
|
|
||
| @Override | ||
| /* Returns a map with an empty String as the sole key, which maps to the raw value of this ResourceName. */ | ||
| public Map<String, String> getFieldValuesMap() { |
| } | ||
|
|
||
| @Override | ||
| /* Returns the raw value of this ResourceName, regardless of the fieldName parameter. */ |
| /* Returns the raw value of this ResourceName iff fieldName.equals(""), else returns null. */ | ||
| @Override | ||
| public String getFieldValue(String fieldName) { | ||
| return fieldValuesMap.get(""); |
| } | ||
| } | ||
| return fieldValuesMap; | ||
| } |
| @@ -1 +1 @@ | |||
| 1.4.0 | |||
| 1.3.1-SNAPSHOT | |||
| */ | ||
| package com.google.api.resourcenames; | ||
|
|
||
| public interface ResourceNameFactory<T extends ResourceName> { |
| public interface ResourceNameFactory<T extends ResourceName> { | ||
|
|
||
| /* Create a new ResourceName from a formatted String representing a ResourceName. */ | ||
| T parseFrom(String formattedString); |
There was a problem hiding this comment.
Ok I'm good with this PR, but we should hold off on merging until we have regenerated api-client-staging and released that code in google-cloud-java.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
No description provided.