Package com.google.cloud.recommender.v1
Interface MarkInsightAcceptedRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MarkInsightAcceptedRequest
,MarkInsightAcceptedRequest.Builder
public interface MarkInsightAcceptedRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsStateMetadata(String key)
Optional.String
getEtag()
Required.com.google.protobuf.ByteString
getEtagBytes()
Required.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.Map<String,String>
getStateMetadata()
Deprecated.int
getStateMetadataCount()
Optional.Map<String,String>
getStateMetadataMap()
Optional.String
getStateMetadataOrDefault(String key, String defaultValue)
Optional.String
getStateMetadataOrThrow(String key)
Optional.-
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 insight.
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 insight.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for name.
-
getStateMetadataCount
int getStateMetadataCount()
Optional. State properties user wish to include with this state. Full replace of the current state_metadata.
map<string, string> state_metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
-
containsStateMetadata
boolean containsStateMetadata(String key)
Optional. State properties user wish to include with this state. Full replace of the current state_metadata.
map<string, string> state_metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getStateMetadata
@Deprecated Map<String,String> getStateMetadata()
Deprecated.UsegetStateMetadataMap()
instead.
-
getStateMetadataMap
Map<String,String> getStateMetadataMap()
Optional. State properties user wish to include with this state. Full replace of the current state_metadata.
map<string, string> state_metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getStateMetadataOrDefault
String getStateMetadataOrDefault(String key, String defaultValue)
Optional. State properties user wish to include with this state. Full replace of the current state_metadata.
map<string, string> state_metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getStateMetadataOrThrow
String getStateMetadataOrThrow(String key)
Optional. State properties user wish to include with this state. Full replace of the current state_metadata.
map<string, string> state_metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getEtag
String getEtag()
Required. Fingerprint of the Insight. Provides optimistic locking.
string etag = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The etag.
-
getEtagBytes
com.google.protobuf.ByteString getEtagBytes()
Required. Fingerprint of the Insight. Provides optimistic locking.
string etag = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for etag.
-
-