public static final class MarkRecommendationFailedRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MarkRecommendationFailedRequest.Builder> implements MarkRecommendationFailedRequestOrBuilder
Request for the `MarkRecommendationFailed` Method.Protobuf type
google.cloud.recommender.v1.MarkRecommendationFailedRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<MarkRecommendationFailedRequest.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<MarkRecommendationFailedRequest.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MarkRecommendationFailedRequest.Builder>public MarkRecommendationFailedRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MarkRecommendationFailedRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MarkRecommendationFailedRequest.Builder>public MarkRecommendationFailedRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MarkRecommendationFailedRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MarkRecommendationFailedRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MarkRecommendationFailedRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MarkRecommendationFailedRequest.Builder>public MarkRecommendationFailedRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MarkRecommendationFailedRequest.Builder>public MarkRecommendationFailedRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MarkRecommendationFailedRequest.Builder>public MarkRecommendationFailedRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MarkRecommendationFailedRequest.Builder>public MarkRecommendationFailedRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MarkRecommendationFailedRequest.Builder>public MarkRecommendationFailedRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MarkRecommendationFailedRequest.Builder>public MarkRecommendationFailedRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MarkRecommendationFailedRequest.Builder>public MarkRecommendationFailedRequest.Builder mergeFrom(MarkRecommendationFailedRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MarkRecommendationFailedRequest.Builder>public MarkRecommendationFailedRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MarkRecommendationFailedRequest.Builder>IOExceptionpublic String getName()
Required. Name of the recommendation.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface MarkRecommendationFailedRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. Name of the recommendation.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface MarkRecommendationFailedRequestOrBuilderpublic MarkRecommendationFailedRequest.Builder setName(String value)
Required. Name of the recommendation.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public MarkRecommendationFailedRequest.Builder clearName()
Required. Name of the recommendation.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public MarkRecommendationFailedRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. Name of the recommendation.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.public int getStateMetadataCount()
MarkRecommendationFailedRequestOrBuilder
State properties to include with this state. Overwrites any existing
`state_metadata`.
Keys must match the regex /^[a-z0-9][a-z0-9_.-]{0,62}$/.
Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.
map<string, string> state_metadata = 2;getStateMetadataCount in interface MarkRecommendationFailedRequestOrBuilderpublic boolean containsStateMetadata(String key)
State properties to include with this state. Overwrites any existing
`state_metadata`.
Keys must match the regex /^[a-z0-9][a-z0-9_.-]{0,62}$/.
Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.
map<string, string> state_metadata = 2;containsStateMetadata in interface MarkRecommendationFailedRequestOrBuilder@Deprecated public Map<String,String> getStateMetadata()
getStateMetadataMap() instead.getStateMetadata in interface MarkRecommendationFailedRequestOrBuilderpublic Map<String,String> getStateMetadataMap()
State properties to include with this state. Overwrites any existing
`state_metadata`.
Keys must match the regex /^[a-z0-9][a-z0-9_.-]{0,62}$/.
Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.
map<string, string> state_metadata = 2;getStateMetadataMap in interface MarkRecommendationFailedRequestOrBuilderpublic String getStateMetadataOrDefault(String key, String defaultValue)
State properties to include with this state. Overwrites any existing
`state_metadata`.
Keys must match the regex /^[a-z0-9][a-z0-9_.-]{0,62}$/.
Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.
map<string, string> state_metadata = 2;getStateMetadataOrDefault in interface MarkRecommendationFailedRequestOrBuilderpublic String getStateMetadataOrThrow(String key)
State properties to include with this state. Overwrites any existing
`state_metadata`.
Keys must match the regex /^[a-z0-9][a-z0-9_.-]{0,62}$/.
Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.
map<string, string> state_metadata = 2;getStateMetadataOrThrow in interface MarkRecommendationFailedRequestOrBuilderpublic MarkRecommendationFailedRequest.Builder clearStateMetadata()
public MarkRecommendationFailedRequest.Builder removeStateMetadata(String key)
State properties to include with this state. Overwrites any existing
`state_metadata`.
Keys must match the regex /^[a-z0-9][a-z0-9_.-]{0,62}$/.
Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.
map<string, string> state_metadata = 2;@Deprecated public Map<String,String> getMutableStateMetadata()
public MarkRecommendationFailedRequest.Builder putStateMetadata(String key, String value)
State properties to include with this state. Overwrites any existing
`state_metadata`.
Keys must match the regex /^[a-z0-9][a-z0-9_.-]{0,62}$/.
Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.
map<string, string> state_metadata = 2;public MarkRecommendationFailedRequest.Builder putAllStateMetadata(Map<String,String> values)
State properties to include with this state. Overwrites any existing
`state_metadata`.
Keys must match the regex /^[a-z0-9][a-z0-9_.-]{0,62}$/.
Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/.
map<string, string> state_metadata = 2;public String getEtag()
Required. Fingerprint of the Recommendation. Provides optimistic locking.
string etag = 3 [(.google.api.field_behavior) = REQUIRED];getEtag in interface MarkRecommendationFailedRequestOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
Required. Fingerprint of the Recommendation. Provides optimistic locking.
string etag = 3 [(.google.api.field_behavior) = REQUIRED];getEtagBytes in interface MarkRecommendationFailedRequestOrBuilderpublic MarkRecommendationFailedRequest.Builder setEtag(String value)
Required. Fingerprint of the Recommendation. Provides optimistic locking.
string etag = 3 [(.google.api.field_behavior) = REQUIRED];value - The etag to set.public MarkRecommendationFailedRequest.Builder clearEtag()
Required. Fingerprint of the Recommendation. Provides optimistic locking.
string etag = 3 [(.google.api.field_behavior) = REQUIRED];public MarkRecommendationFailedRequest.Builder setEtagBytes(com.google.protobuf.ByteString value)
Required. Fingerprint of the Recommendation. Provides optimistic locking.
string etag = 3 [(.google.api.field_behavior) = REQUIRED];value - The bytes for etag to set.public final MarkRecommendationFailedRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MarkRecommendationFailedRequest.Builder>public final MarkRecommendationFailedRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MarkRecommendationFailedRequest.Builder>Copyright © 2020 Google LLC. All rights reserved.