public static final class BulkSetLabelsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BulkSetLabelsRequest.Builder> implements BulkSetLabelsRequestOrBuilder
Protobuf type
google.cloud.compute.v1.BulkSetLabelsRequest| Modifier and Type | Method and Description |
|---|---|
BulkSetLabelsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BulkSetLabelsRequest |
build() |
BulkSetLabelsRequest |
buildPartial() |
BulkSetLabelsRequest.Builder |
clear() |
BulkSetLabelsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BulkSetLabelsRequest.Builder |
clearLabelFingerprint()
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
BulkSetLabelsRequest.Builder |
clearLabels() |
BulkSetLabelsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BulkSetLabelsRequest.Builder |
clone() |
boolean |
containsLabels(String key)
The labels to set for this resource.
|
BulkSetLabelsRequest |
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.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
BulkSetLabelsRequest.Builder |
mergeFrom(BulkSetLabelsRequest other) |
BulkSetLabelsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BulkSetLabelsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
BulkSetLabelsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BulkSetLabelsRequest.Builder |
putAllLabels(Map<String,String> values)
The labels to set for this resource.
|
BulkSetLabelsRequest.Builder |
putLabels(String key,
String value)
The labels to set for this resource.
|
BulkSetLabelsRequest.Builder |
removeLabels(String key)
The labels to set for this resource.
|
BulkSetLabelsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BulkSetLabelsRequest.Builder |
setLabelFingerprint(String value)
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
BulkSetLabelsRequest.Builder |
setLabelFingerprintBytes(com.google.protobuf.ByteString value)
The fingerprint of the previous set of labels for this resource, used to detect conflicts.
|
BulkSetLabelsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BulkSetLabelsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<BulkSetLabelsRequest.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<BulkSetLabelsRequest.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BulkSetLabelsRequest.Builder>public BulkSetLabelsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BulkSetLabelsRequest.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<BulkSetLabelsRequest.Builder>public BulkSetLabelsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BulkSetLabelsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BulkSetLabelsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BulkSetLabelsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BulkSetLabelsRequest.Builder>public BulkSetLabelsRequest.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<BulkSetLabelsRequest.Builder>public BulkSetLabelsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BulkSetLabelsRequest.Builder>public BulkSetLabelsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BulkSetLabelsRequest.Builder>public BulkSetLabelsRequest.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<BulkSetLabelsRequest.Builder>public BulkSetLabelsRequest.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<BulkSetLabelsRequest.Builder>public BulkSetLabelsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BulkSetLabelsRequest.Builder>public BulkSetLabelsRequest.Builder mergeFrom(BulkSetLabelsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BulkSetLabelsRequest.Builder>public BulkSetLabelsRequest.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<BulkSetLabelsRequest.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 may optionally 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 BulkSetLabelsRequestOrBuilderpublic 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 may optionally 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 BulkSetLabelsRequestOrBuilderpublic 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 may optionally 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 BulkSetLabelsRequestOrBuilderpublic BulkSetLabelsRequest.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 may optionally 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 BulkSetLabelsRequest.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 may optionally 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 BulkSetLabelsRequest.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 may optionally 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()
BulkSetLabelsRequestOrBuilderThe labels to set for this resource.
map<string, string> labels = 500195327;getLabelsCount in interface BulkSetLabelsRequestOrBuilderpublic boolean containsLabels(String key)
The labels to set for this resource.
map<string, string> labels = 500195327;containsLabels in interface BulkSetLabelsRequestOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface BulkSetLabelsRequestOrBuilderpublic Map<String,String> getLabelsMap()
The labels to set for this resource.
map<string, string> labels = 500195327;getLabelsMap in interface BulkSetLabelsRequestOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
The labels to set for this resource.
map<string, string> labels = 500195327;getLabelsOrDefault in interface BulkSetLabelsRequestOrBuilderpublic String getLabelsOrThrow(String key)
The labels to set for this resource.
map<string, string> labels = 500195327;getLabelsOrThrow in interface BulkSetLabelsRequestOrBuilderpublic BulkSetLabelsRequest.Builder clearLabels()
public BulkSetLabelsRequest.Builder removeLabels(String key)
The labels to set for this resource.
map<string, string> labels = 500195327;@Deprecated public Map<String,String> getMutableLabels()
public BulkSetLabelsRequest.Builder putLabels(String key, String value)
The labels to set for this resource.
map<string, string> labels = 500195327;public BulkSetLabelsRequest.Builder putAllLabels(Map<String,String> values)
The labels to set for this resource.
map<string, string> labels = 500195327;public final BulkSetLabelsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BulkSetLabelsRequest.Builder>public final BulkSetLabelsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BulkSetLabelsRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.