- 2.57.0 (latest)
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.7
- 2.4.1
- 2.3.0
- 2.2.0
- 2.1.5
public static final class InsightStateInfo.Builder extends GeneratedMessageV3.Builder<InsightStateInfo.Builder> implements InsightStateInfoOrBuilder
Information related to insight state.
Protobuf type google.cloud.recommender.v1beta1.InsightStateInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InsightStateInfo.BuilderImplements
InsightStateInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InsightStateInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InsightStateInfo.Builder |
build()
public InsightStateInfo build()
Type | Description |
InsightStateInfo |
buildPartial()
public InsightStateInfo buildPartial()
Type | Description |
InsightStateInfo |
clear()
public InsightStateInfo.Builder clear()
Type | Description |
InsightStateInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public InsightStateInfo.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
InsightStateInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public InsightStateInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
InsightStateInfo.Builder |
clearState()
public InsightStateInfo.Builder clearState()
Insight state.
.google.cloud.recommender.v1beta1.InsightStateInfo.State state = 1;
Type | Description |
InsightStateInfo.Builder | This builder for chaining. |
clearStateMetadata()
public InsightStateInfo.Builder clearStateMetadata()
Type | Description |
InsightStateInfo.Builder |
clone()
public InsightStateInfo.Builder clone()
Type | Description |
InsightStateInfo.Builder |
containsStateMetadata(String key)
public boolean containsStateMetadata(String key)
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;
Name | Description |
key | String |
Type | Description |
boolean |
getDefaultInstanceForType()
public InsightStateInfo getDefaultInstanceForType()
Type | Description |
InsightStateInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMutableStateMetadata()
public Map<String,String> getMutableStateMetadata()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getState()
public InsightStateInfo.State getState()
Insight state.
.google.cloud.recommender.v1beta1.InsightStateInfo.State state = 1;
Type | Description |
InsightStateInfo.State | The state. |
getStateMetadata()
public Map<String,String> getStateMetadata()
Use #getStateMetadataMap() instead.
Type | Description |
Map<String,String> |
getStateMetadataCount()
public int getStateMetadataCount()
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;
Type | Description |
int |
getStateMetadataMap()
public Map<String,String> getStateMetadataMap()
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;
Type | Description |
Map<String,String> |
getStateMetadataOrDefault(String key, String defaultValue)
public 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;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getStateMetadataOrThrow(String key)
public String getStateMetadataOrThrow(String key)
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;
Name | Description |
key | String |
Type | Description |
String |
getStateValue()
public int getStateValue()
Insight state.
.google.cloud.recommender.v1beta1.InsightStateInfo.State state = 1;
Type | Description |
int | The enum numeric value on the wire for state. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(InsightStateInfo other)
public InsightStateInfo.Builder mergeFrom(InsightStateInfo other)
Name | Description |
other | InsightStateInfo |
Type | Description |
InsightStateInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InsightStateInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
InsightStateInfo.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public InsightStateInfo.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
InsightStateInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InsightStateInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InsightStateInfo.Builder |
putAllStateMetadata(Map<String,String> values)
public InsightStateInfo.Builder putAllStateMetadata(Map<String,String> values)
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;
Name | Description |
values | Map<String,String> |
Type | Description |
InsightStateInfo.Builder |
putStateMetadata(String key, String value)
public InsightStateInfo.Builder putStateMetadata(String key, String value)
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;
Name | Description |
key | String |
value | String |
Type | Description |
InsightStateInfo.Builder |
removeStateMetadata(String key)
public InsightStateInfo.Builder removeStateMetadata(String key)
A map of metadata for the state, provided by user or automations systems.
map<string, string> state_metadata = 2;
Name | Description |
key | String |
Type | Description |
InsightStateInfo.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public InsightStateInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InsightStateInfo.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InsightStateInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
InsightStateInfo.Builder |
setState(InsightStateInfo.State value)
public InsightStateInfo.Builder setState(InsightStateInfo.State value)
Insight state.
.google.cloud.recommender.v1beta1.InsightStateInfo.State state = 1;
Name | Description |
value | InsightStateInfo.State The state to set. |
Type | Description |
InsightStateInfo.Builder | This builder for chaining. |
setStateValue(int value)
public InsightStateInfo.Builder setStateValue(int value)
Insight state.
.google.cloud.recommender.v1beta1.InsightStateInfo.State state = 1;
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
InsightStateInfo.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final InsightStateInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
InsightStateInfo.Builder |