public interface MarkRecommendationClaimedRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsStateMetadata(String key)
public abstract boolean containsStateMetadata(String key)
State properties to include with this state. Overwrites any existing
state_metadata
.
Keys must match the regex /^a-z0-9{0,62}$/
.
Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/
.
map<string, string> state_metadata = 2;
Name | Description |
key | String |
Type | Description |
boolean |
getEtag()
public abstract String getEtag()
Required. Fingerprint of the Recommendation. Provides optimistic locking.
string etag = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The etag. |
getEtagBytes()
public abstract ByteString getEtagBytes()
Required. Fingerprint of the Recommendation. Provides optimistic locking.
string etag = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for etag. |
getName()
public abstract String getName()
Required. Name of the recommendation.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Required. Name of the recommendation.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
getStateMetadata()
public abstract Map<String,String> getStateMetadata()
Use #getStateMetadataMap() instead.
Type | Description |
Map<String,String> |
getStateMetadataCount()
public abstract int getStateMetadataCount()
State properties to include with this state. Overwrites any existing
state_metadata
.
Keys must match the regex /^a-z0-9{0,62}$/
.
Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/
.
map<string, string> state_metadata = 2;
Type | Description |
int |
getStateMetadataMap()
public abstract Map<String,String> getStateMetadataMap()
State properties to include with this state. Overwrites any existing
state_metadata
.
Keys must match the regex /^a-z0-9{0,62}$/
.
Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/
.
map<string, string> state_metadata = 2;
Type | Description |
Map<String,String> |
getStateMetadataOrDefault(String key, String defaultValue)
public abstract String getStateMetadataOrDefault(String key, String defaultValue)
State properties to include with this state. Overwrites any existing
state_metadata
.
Keys must match the regex /^a-z0-9{0,62}$/
.
Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/
.
map<string, string> state_metadata = 2;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getStateMetadataOrThrow(String key)
public abstract String getStateMetadataOrThrow(String key)
State properties to include with this state. Overwrites any existing
state_metadata
.
Keys must match the regex /^a-z0-9{0,62}$/
.
Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/
.
map<string, string> state_metadata = 2;
Name | Description |
key | String |
Type | Description |
String |