public static final class RegionSetLabelsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RegionSetLabelsRequest.Builder> implements RegionSetLabelsRequestOrBuilder
Protobuf type
google.cloud.compute.v1.RegionSetLabelsRequest| Modifier and Type | Method and Description |
|---|---|
RegionSetLabelsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RegionSetLabelsRequest |
build() |
RegionSetLabelsRequest |
buildPartial() |
RegionSetLabelsRequest.Builder |
clear() |
RegionSetLabelsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RegionSetLabelsRequest.Builder |
clearLabelFingerprint()
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
RegionSetLabelsRequest.Builder |
clearLabels() |
RegionSetLabelsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RegionSetLabelsRequest.Builder |
clone() |
boolean |
containsLabels(String key)
The labels to set for this resource.
|
RegionSetLabelsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getLabelFingerprint()
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
com.google.protobuf.ByteString |
getLabelFingerprintBytes()
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
The labels to set for this resource.
|
Map<String,String> |
getLabelsMap()
The labels to set for this resource.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
The labels to set for this resource.
|
String |
getLabelsOrThrow(String key)
The labels to set for this resource.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
boolean |
hasLabelFingerprint()
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
RegionSetLabelsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RegionSetLabelsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
RegionSetLabelsRequest.Builder |
mergeFrom(RegionSetLabelsRequest other) |
RegionSetLabelsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RegionSetLabelsRequest.Builder |
putAllLabels(Map<String,String> values)
The labels to set for this resource.
|
RegionSetLabelsRequest.Builder |
putLabels(String key,
String value)
The labels to set for this resource.
|
RegionSetLabelsRequest.Builder |
removeLabels(String key)
The labels to set for this resource.
|
RegionSetLabelsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RegionSetLabelsRequest.Builder |
setLabelFingerprint(String value)
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
RegionSetLabelsRequest.Builder |
setLabelFingerprintBytes(com.google.protobuf.ByteString value)
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
RegionSetLabelsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RegionSetLabelsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<RegionSetLabelsRequest.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<RegionSetLabelsRequest.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RegionSetLabelsRequest.Builder>public RegionSetLabelsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RegionSetLabelsRequest.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<RegionSetLabelsRequest.Builder>public RegionSetLabelsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RegionSetLabelsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RegionSetLabelsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RegionSetLabelsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RegionSetLabelsRequest.Builder>public RegionSetLabelsRequest.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<RegionSetLabelsRequest.Builder>public RegionSetLabelsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RegionSetLabelsRequest.Builder>public RegionSetLabelsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RegionSetLabelsRequest.Builder>public RegionSetLabelsRequest.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<RegionSetLabelsRequest.Builder>public RegionSetLabelsRequest.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<RegionSetLabelsRequest.Builder>public RegionSetLabelsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RegionSetLabelsRequest.Builder>public RegionSetLabelsRequest.Builder mergeFrom(RegionSetLabelsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RegionSetLabelsRequest.Builder>public RegionSetLabelsRequest.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<RegionSetLabelsRequest.Builder>IOExceptionpublic boolean hasLabelFingerprint()
The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.
optional string label_fingerprint = 178124825;hasLabelFingerprint in interface RegionSetLabelsRequestOrBuilderpublic String getLabelFingerprint()
The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.
optional string label_fingerprint = 178124825;getLabelFingerprint in interface RegionSetLabelsRequestOrBuilderpublic com.google.protobuf.ByteString getLabelFingerprintBytes()
The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.
optional string label_fingerprint = 178124825;getLabelFingerprintBytes in interface RegionSetLabelsRequestOrBuilderpublic RegionSetLabelsRequest.Builder setLabelFingerprint(String value)
The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.
optional string label_fingerprint = 178124825;value - The labelFingerprint to set.public RegionSetLabelsRequest.Builder clearLabelFingerprint()
The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.
optional string label_fingerprint = 178124825;public RegionSetLabelsRequest.Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value)
The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.
optional string label_fingerprint = 178124825;value - The bytes for labelFingerprint to set.public int getLabelsCount()
RegionSetLabelsRequestOrBuilderThe labels to set for this resource.
map<string, string> labels = 500195327;getLabelsCount in interface RegionSetLabelsRequestOrBuilderpublic boolean containsLabels(String key)
The labels to set for this resource.
map<string, string> labels = 500195327;containsLabels in interface RegionSetLabelsRequestOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface RegionSetLabelsRequestOrBuilderpublic Map<String,String> getLabelsMap()
The labels to set for this resource.
map<string, string> labels = 500195327;getLabelsMap in interface RegionSetLabelsRequestOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
The labels to set for this resource.
map<string, string> labels = 500195327;getLabelsOrDefault in interface RegionSetLabelsRequestOrBuilderpublic String getLabelsOrThrow(String key)
The labels to set for this resource.
map<string, string> labels = 500195327;getLabelsOrThrow in interface RegionSetLabelsRequestOrBuilderpublic RegionSetLabelsRequest.Builder clearLabels()
public RegionSetLabelsRequest.Builder removeLabels(String key)
The labels to set for this resource.
map<string, string> labels = 500195327;@Deprecated public Map<String,String> getMutableLabels()
public RegionSetLabelsRequest.Builder putLabels(String key, String value)
The labels to set for this resource.
map<string, string> labels = 500195327;public RegionSetLabelsRequest.Builder putAllLabels(Map<String,String> values)
The labels to set for this resource.
map<string, string> labels = 500195327;public final RegionSetLabelsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RegionSetLabelsRequest.Builder>public final RegionSetLabelsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RegionSetLabelsRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.