public static final class MarkInsightAcceptedRequest.Builder extends GeneratedMessageV3.Builder<MarkInsightAcceptedRequest.Builder> implements MarkInsightAcceptedRequestOrBuilder
Request for the MarkInsightAccepted
method.
Protobuf type google.cloud.recommender.v1.MarkInsightAcceptedRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MarkInsightAcceptedRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MarkInsightAcceptedRequest build()
buildPartial()
public MarkInsightAcceptedRequest buildPartial()
clear()
public MarkInsightAcceptedRequest.Builder clear()
Overrides
clearEtag()
public MarkInsightAcceptedRequest.Builder clearEtag()
Required. Fingerprint of the Insight. Provides optimistic locking.
string etag = 3 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public MarkInsightAcceptedRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public MarkInsightAcceptedRequest.Builder clearName()
Required. Name of the insight.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public MarkInsightAcceptedRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public MarkInsightAcceptedRequest.Builder clearStateMetadata()
clone()
public MarkInsightAcceptedRequest.Builder clone()
Overrides
public 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];
Parameter |
Name |
Description |
key |
String
|
getDefaultInstanceForType()
public MarkInsightAcceptedRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEtag()
Required. Fingerprint of the Insight. Provides optimistic locking.
string etag = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The etag.
|
getEtagBytes()
public ByteString getEtagBytes()
Required. Fingerprint of the Insight. Provides optimistic locking.
string etag = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for etag.
|
public Map<String,String> getMutableStateMetadata()
Use alternate mutation accessors instead.
getName()
Required. Name of the insight.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. Name of the insight.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
public Map<String,String> getStateMetadata()
public 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];
Returns |
Type |
Description |
int |
|
public 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];
public 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];
Returns |
Type |
Description |
String |
|
public 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];
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MarkInsightAcceptedRequest other)
public MarkInsightAcceptedRequest.Builder mergeFrom(MarkInsightAcceptedRequest other)
public MarkInsightAcceptedRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MarkInsightAcceptedRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MarkInsightAcceptedRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public MarkInsightAcceptedRequest.Builder putAllStateMetadata(Map<String,String> values)
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];
public MarkInsightAcceptedRequest.Builder putStateMetadata(String key, String value)
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];
public MarkInsightAcceptedRequest.Builder removeStateMetadata(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];
Parameter |
Name |
Description |
key |
String
|
setEtag(String value)
public MarkInsightAcceptedRequest.Builder setEtag(String value)
Required. Fingerprint of the Insight. Provides optimistic locking.
string etag = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The etag to set.
|
setEtagBytes(ByteString value)
public MarkInsightAcceptedRequest.Builder setEtagBytes(ByteString value)
Required. Fingerprint of the Insight. Provides optimistic locking.
string etag = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for etag to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public MarkInsightAcceptedRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public MarkInsightAcceptedRequest.Builder setName(String value)
Required. Name of the insight.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public MarkInsightAcceptedRequest.Builder setNameBytes(ByteString value)
Required. Name of the insight.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MarkInsightAcceptedRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MarkInsightAcceptedRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides