public final class InstancesSetLabelsRequest extends com.google.protobuf.GeneratedMessageV3 implements InstancesSetLabelsRequestOrBuilder
Protobuf type
google.cloud.compute.v1.InstancesSetLabelsRequest| Modifier and Type | Class and Description |
|---|---|
static class |
InstancesSetLabelsRequest.Builder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
LABEL_FINGERPRINT_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
map<string, string> labels = 500195327; |
boolean |
equals(Object obj) |
static InstancesSetLabelsRequest |
getDefaultInstance() |
InstancesSetLabelsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getLabelFingerprint()
Fingerprint of the previous set of labels for this resource, used to prevent conflicts.
|
com.google.protobuf.ByteString |
getLabelFingerprintBytes()
Fingerprint of the previous set of labels for this resource, used to prevent conflicts.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
map<string, string> labels = 500195327; |
Map<String,String> |
getLabelsMap()
map<string, string> labels = 500195327; |
String |
getLabelsOrDefault(String key,
String defaultValue)
map<string, string> labels = 500195327; |
String |
getLabelsOrThrow(String key)
map<string, string> labels = 500195327; |
com.google.protobuf.Parser<InstancesSetLabelsRequest> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasLabelFingerprint()
Fingerprint of the previous set of labels for this resource, used to prevent conflicts.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static InstancesSetLabelsRequest.Builder |
newBuilder() |
static InstancesSetLabelsRequest.Builder |
newBuilder(InstancesSetLabelsRequest prototype) |
InstancesSetLabelsRequest.Builder |
newBuilderForType() |
protected InstancesSetLabelsRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static InstancesSetLabelsRequest |
parseDelimitedFrom(InputStream input) |
static InstancesSetLabelsRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstancesSetLabelsRequest |
parseFrom(byte[] data) |
static InstancesSetLabelsRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstancesSetLabelsRequest |
parseFrom(ByteBuffer data) |
static InstancesSetLabelsRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstancesSetLabelsRequest |
parseFrom(com.google.protobuf.ByteString data) |
static InstancesSetLabelsRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstancesSetLabelsRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static InstancesSetLabelsRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstancesSetLabelsRequest |
parseFrom(InputStream input) |
static InstancesSetLabelsRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<InstancesSetLabelsRequest> |
parser() |
InstancesSetLabelsRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int LABEL_FINGERPRINT_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasLabelFingerprint()
Fingerprint of the previous set of labels for this resource, used to prevent conflicts. Provide the latest fingerprint value when making a request to add or change labels.
optional string label_fingerprint = 178124825;hasLabelFingerprint in interface InstancesSetLabelsRequestOrBuilderpublic String getLabelFingerprint()
Fingerprint of the previous set of labels for this resource, used to prevent conflicts. Provide the latest fingerprint value when making a request to add or change labels.
optional string label_fingerprint = 178124825;getLabelFingerprint in interface InstancesSetLabelsRequestOrBuilderpublic com.google.protobuf.ByteString getLabelFingerprintBytes()
Fingerprint of the previous set of labels for this resource, used to prevent conflicts. Provide the latest fingerprint value when making a request to add or change labels.
optional string label_fingerprint = 178124825;getLabelFingerprintBytes in interface InstancesSetLabelsRequestOrBuilderpublic int getLabelsCount()
InstancesSetLabelsRequestOrBuildermap<string, string> labels = 500195327;getLabelsCount in interface InstancesSetLabelsRequestOrBuilderpublic boolean containsLabels(String key)
map<string, string> labels = 500195327;containsLabels in interface InstancesSetLabelsRequestOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface InstancesSetLabelsRequestOrBuilderpublic Map<String,String> getLabelsMap()
map<string, string> labels = 500195327;getLabelsMap in interface InstancesSetLabelsRequestOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
map<string, string> labels = 500195327;getLabelsOrDefault in interface InstancesSetLabelsRequestOrBuilderpublic String getLabelsOrThrow(String key)
map<string, string> labels = 500195327;getLabelsOrThrow in interface InstancesSetLabelsRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static InstancesSetLabelsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstancesSetLabelsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstancesSetLabelsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstancesSetLabelsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstancesSetLabelsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstancesSetLabelsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstancesSetLabelsRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static InstancesSetLabelsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static InstancesSetLabelsRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static InstancesSetLabelsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static InstancesSetLabelsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static InstancesSetLabelsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic InstancesSetLabelsRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static InstancesSetLabelsRequest.Builder newBuilder()
public static InstancesSetLabelsRequest.Builder newBuilder(InstancesSetLabelsRequest prototype)
public InstancesSetLabelsRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected InstancesSetLabelsRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static InstancesSetLabelsRequest getDefaultInstance()
public static com.google.protobuf.Parser<InstancesSetLabelsRequest> parser()
public com.google.protobuf.Parser<InstancesSetLabelsRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public InstancesSetLabelsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.