public static final class Tags.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Tags.Builder> implements TagsOrBuilder
A set of instance tags.Protobuf type
google.cloud.compute.v1.Tags| Modifier and Type | Method and Description |
|---|---|
Tags.Builder |
addAllItems(Iterable<String> values)
An array of tags.
|
Tags.Builder |
addItems(String value)
An array of tags.
|
Tags.Builder |
addItemsBytes(com.google.protobuf.ByteString value)
An array of tags.
|
Tags.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Tags |
build() |
Tags |
buildPartial() |
Tags.Builder |
clear() |
Tags.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Tags.Builder |
clearFingerprint()
Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking.
|
Tags.Builder |
clearItems()
An array of tags.
|
Tags.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Tags.Builder |
clone() |
Tags |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFingerprint()
Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking.
|
com.google.protobuf.ByteString |
getFingerprintBytes()
Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking.
|
String |
getItems(int index)
An array of tags.
|
com.google.protobuf.ByteString |
getItemsBytes(int index)
An array of tags.
|
int |
getItemsCount()
An array of tags.
|
com.google.protobuf.ProtocolStringList |
getItemsList()
An array of tags.
|
boolean |
hasFingerprint()
Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Tags.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Tags.Builder |
mergeFrom(com.google.protobuf.Message other) |
Tags.Builder |
mergeFrom(Tags other) |
Tags.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Tags.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Tags.Builder |
setFingerprint(String value)
Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking.
|
Tags.Builder |
setFingerprintBytes(com.google.protobuf.ByteString value)
Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking.
|
Tags.Builder |
setItems(int index,
String value)
An array of tags.
|
Tags.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Tags.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, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Tags.Builder>public Tags.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Tags.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<Tags.Builder>public Tags getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Tags build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Tags buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Tags.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Tags.Builder>public Tags.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<Tags.Builder>public Tags.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Tags.Builder>public Tags.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Tags.Builder>public Tags.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<Tags.Builder>public Tags.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<Tags.Builder>public Tags.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Tags.Builder>public Tags.Builder mergeFrom(Tags other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Tags.Builder>public Tags.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<Tags.Builder>IOExceptionpublic boolean hasFingerprint()
Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance.
optional string fingerprint = 234678500;hasFingerprint in interface TagsOrBuilderpublic String getFingerprint()
Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance.
optional string fingerprint = 234678500;getFingerprint in interface TagsOrBuilderpublic com.google.protobuf.ByteString getFingerprintBytes()
Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance.
optional string fingerprint = 234678500;getFingerprintBytes in interface TagsOrBuilderpublic Tags.Builder setFingerprint(String value)
Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance.
optional string fingerprint = 234678500;value - The fingerprint to set.public Tags.Builder clearFingerprint()
Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance.
optional string fingerprint = 234678500;public Tags.Builder setFingerprintBytes(com.google.protobuf.ByteString value)
Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance.
optional string fingerprint = 234678500;value - The bytes for fingerprint to set.public com.google.protobuf.ProtocolStringList getItemsList()
An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
repeated string items = 100526016;getItemsList in interface TagsOrBuilderpublic int getItemsCount()
An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
repeated string items = 100526016;getItemsCount in interface TagsOrBuilderpublic String getItems(int index)
An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
repeated string items = 100526016;getItems in interface TagsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getItemsBytes(int index)
An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
repeated string items = 100526016;getItemsBytes in interface TagsOrBuilderindex - The index of the value to return.public Tags.Builder setItems(int index, String value)
An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
repeated string items = 100526016;index - The index to set the value at.value - The items to set.public Tags.Builder addItems(String value)
An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
repeated string items = 100526016;value - The items to add.public Tags.Builder addAllItems(Iterable<String> values)
An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
repeated string items = 100526016;values - The items to add.public Tags.Builder clearItems()
An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
repeated string items = 100526016;public Tags.Builder addItemsBytes(com.google.protobuf.ByteString value)
An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
repeated string items = 100526016;value - The bytes of the items to add.public final Tags.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Tags.Builder>public final Tags.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Tags.Builder>Copyright © 2023 Google LLC. All rights reserved.