Interface InsightStateInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InsightStateInfo
,InsightStateInfo.Builder
public interface InsightStateInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsStateMetadata(String key)
A map of metadata for the state, provided by user or automations systems.InsightStateInfo.State
getState()
Insight state.Map<String,String>
getStateMetadata()
Deprecated.int
getStateMetadataCount()
A map of metadata for the state, provided by user or automations systems.Map<String,String>
getStateMetadataMap()
A map of metadata for the state, provided by user or automations systems.String
getStateMetadataOrDefault(String key, String defaultValue)
A map of metadata for the state, provided by user or automations systems.String
getStateMetadataOrThrow(String key)
A map of metadata for the state, provided by user or automations systems.int
getStateValue()
Insight state.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStateValue
int getStateValue()
Insight state.
.google.cloud.recommender.v1beta1.InsightStateInfo.State state = 1;
- Returns:
- The enum numeric value on the wire for state.
-
getState
InsightStateInfo.State getState()
Insight state.
.google.cloud.recommender.v1beta1.InsightStateInfo.State state = 1;
- Returns:
- The state.
-
getStateMetadataCount
int getStateMetadataCount()
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;
-
containsStateMetadata
boolean containsStateMetadata(String key)
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;
-
getStateMetadata
@Deprecated Map<String,String> getStateMetadata()
Deprecated.UsegetStateMetadataMap()
instead.
-
getStateMetadataMap
Map<String,String> getStateMetadataMap()
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;
-
getStateMetadataOrDefault
String getStateMetadataOrDefault(String key, String defaultValue)
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;
-
-