public final class RecommendationStateInfo extends com.google.protobuf.GeneratedMessageV3 implements RecommendationStateInfoOrBuilder
Information for state. Contains state and metadata.Protobuf type
google.cloud.recommender.v1.RecommendationStateInfo| Modifier and Type | Class and Description |
|---|---|
static class |
RecommendationStateInfo.Builder
Information for state.
|
static class |
RecommendationStateInfo.State
Represents Recommendation State.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
STATE_FIELD_NUMBER |
static int |
STATE_METADATA_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsStateMetadata(String key)
A map of metadata for the state, provided by user or automations systems.
|
boolean |
equals(Object obj) |
static RecommendationStateInfo |
getDefaultInstance() |
RecommendationStateInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<RecommendationStateInfo> |
getParserForType() |
int |
getSerializedSize() |
RecommendationStateInfo.State |
getState()
The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.
|
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()
The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static RecommendationStateInfo.Builder |
newBuilder() |
static RecommendationStateInfo.Builder |
newBuilder(RecommendationStateInfo prototype) |
RecommendationStateInfo.Builder |
newBuilderForType() |
protected RecommendationStateInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RecommendationStateInfo |
parseDelimitedFrom(InputStream input) |
static RecommendationStateInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecommendationStateInfo |
parseFrom(byte[] data) |
static RecommendationStateInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecommendationStateInfo |
parseFrom(ByteBuffer data) |
static RecommendationStateInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecommendationStateInfo |
parseFrom(com.google.protobuf.ByteString data) |
static RecommendationStateInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecommendationStateInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RecommendationStateInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecommendationStateInfo |
parseFrom(InputStream input) |
static RecommendationStateInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RecommendationStateInfo> |
parser() |
RecommendationStateInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int STATE_FIELD_NUMBER
public static final int STATE_METADATA_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getStateValue()
The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.
.google.cloud.recommender.v1.RecommendationStateInfo.State state = 1;getStateValue in interface RecommendationStateInfoOrBuilderpublic RecommendationStateInfo.State getState()
The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.
.google.cloud.recommender.v1.RecommendationStateInfo.State state = 1;getState in interface RecommendationStateInfoOrBuilderpublic int getStateMetadataCount()
RecommendationStateInfoOrBuilderA map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;getStateMetadataCount in interface RecommendationStateInfoOrBuilderpublic boolean containsStateMetadata(String key)
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;containsStateMetadata in interface RecommendationStateInfoOrBuilder@Deprecated public Map<String,String> getStateMetadata()
getStateMetadataMap() instead.getStateMetadata in interface RecommendationStateInfoOrBuilderpublic Map<String,String> getStateMetadataMap()
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;getStateMetadataMap in interface RecommendationStateInfoOrBuilderpublic 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;getStateMetadataOrDefault in interface RecommendationStateInfoOrBuilderpublic String getStateMetadataOrThrow(String key)
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;getStateMetadataOrThrow in interface RecommendationStateInfoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RecommendationStateInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecommendationStateInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecommendationStateInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecommendationStateInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecommendationStateInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecommendationStateInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecommendationStateInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static RecommendationStateInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RecommendationStateInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RecommendationStateInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RecommendationStateInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RecommendationStateInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RecommendationStateInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RecommendationStateInfo.Builder newBuilder()
public static RecommendationStateInfo.Builder newBuilder(RecommendationStateInfo prototype)
public RecommendationStateInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RecommendationStateInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RecommendationStateInfo getDefaultInstance()
public static com.google.protobuf.Parser<RecommendationStateInfo> parser()
public com.google.protobuf.Parser<RecommendationStateInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RecommendationStateInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.