Interface MarkRecommendationFailedRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MarkRecommendationFailedRequest,MarkRecommendationFailedRequest.Builder
public interface MarkRecommendationFailedRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsStateMetadata(String key)State properties to include with this state.StringgetEtag()Required.com.google.protobuf.ByteStringgetEtagBytes()Required.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.Map<String,String>getStateMetadata()Deprecated.intgetStateMetadataCount()State properties to include with this state.Map<String,String>getStateMetadataMap()State properties to include with this state.StringgetStateMetadataOrDefault(String key, String defaultValue)State properties to include with this state.StringgetStateMetadataOrThrow(String key)State properties to include with this state.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. Name of the recommendation.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. Name of the recommendation.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
getStateMetadataCount
int getStateMetadataCount()
State properties to include with this state. Overwrites any existing `state_metadata`. Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`. Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.map<string, string> state_metadata = 2;
-
containsStateMetadata
boolean containsStateMetadata(String key)
State properties to include with this state. Overwrites any existing `state_metadata`. Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`. Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.map<string, string> state_metadata = 2;
-
getStateMetadata
@Deprecated Map<String,String> getStateMetadata()
Deprecated.UsegetStateMetadataMap()instead.
-
getStateMetadataMap
Map<String,String> getStateMetadataMap()
State properties to include with this state. Overwrites any existing `state_metadata`. Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`. Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.map<string, string> state_metadata = 2;
-
getStateMetadataOrDefault
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][a-z0-9_.-]{0,62}$/`. Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.map<string, string> state_metadata = 2;
-
getStateMetadataOrThrow
String getStateMetadataOrThrow(String key)
State properties to include with this state. Overwrites any existing `state_metadata`. Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`. Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.map<string, string> state_metadata = 2;
-
getEtag
String getEtag()
Required. Fingerprint of the Recommendation. Provides optimistic locking.
string etag = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The etag.
-
getEtagBytes
com.google.protobuf.ByteString getEtagBytes()
Required. Fingerprint of the Recommendation. Provides optimistic locking.
string etag = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for etag.
-
-