public final class InsightStateInfo extends com.google.protobuf.GeneratedMessageV3 implements InsightStateInfoOrBuilder
Information related to insight state.Protobuf type
google.cloud.recommender.v1.InsightStateInfo| Modifier and Type | Class and Description |
|---|---|
static class |
InsightStateInfo.Builder
Information related to insight state.
|
static class |
InsightStateInfo.State
Represents insight state.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, 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 InsightStateInfo |
getDefaultInstance() |
InsightStateInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<InsightStateInfo> |
getParserForType() |
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static InsightStateInfo.Builder |
newBuilder() |
static InsightStateInfo.Builder |
newBuilder(InsightStateInfo prototype) |
InsightStateInfo.Builder |
newBuilderForType() |
protected InsightStateInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static InsightStateInfo |
parseDelimitedFrom(InputStream input) |
static InsightStateInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InsightStateInfo |
parseFrom(byte[] data) |
static InsightStateInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InsightStateInfo |
parseFrom(ByteBuffer data) |
static InsightStateInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InsightStateInfo |
parseFrom(com.google.protobuf.ByteString data) |
static InsightStateInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InsightStateInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static InsightStateInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InsightStateInfo |
parseFrom(InputStream input) |
static InsightStateInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<InsightStateInfo> |
parser() |
InsightStateInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, 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 final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getStateValue()
Insight state.
.google.cloud.recommender.v1.InsightStateInfo.State state = 1;getStateValue in interface InsightStateInfoOrBuilderpublic InsightStateInfo.State getState()
Insight state.
.google.cloud.recommender.v1.InsightStateInfo.State state = 1;getState in interface InsightStateInfoOrBuilderpublic int getStateMetadataCount()
InsightStateInfoOrBuilderA map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;getStateMetadataCount in interface InsightStateInfoOrBuilderpublic 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 InsightStateInfoOrBuilder@Deprecated public Map<String,String> getStateMetadata()
getStateMetadataMap() instead.getStateMetadata in interface InsightStateInfoOrBuilderpublic 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 InsightStateInfoOrBuilderpublic 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 InsightStateInfoOrBuilderpublic 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 InsightStateInfoOrBuilderpublic 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 InsightStateInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InsightStateInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InsightStateInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InsightStateInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InsightStateInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InsightStateInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InsightStateInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static InsightStateInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static InsightStateInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static InsightStateInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static InsightStateInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static InsightStateInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic InsightStateInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static InsightStateInfo.Builder newBuilder()
public static InsightStateInfo.Builder newBuilder(InsightStateInfo prototype)
public InsightStateInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected InsightStateInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static InsightStateInfo getDefaultInstance()
public static com.google.protobuf.Parser<InsightStateInfo> parser()
public com.google.protobuf.Parser<InsightStateInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public InsightStateInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.