Class CreateTagBindingRequest (1.42.0)

public final class CreateTagBindingRequest extends GeneratedMessageV3 implements CreateTagBindingRequestOrBuilder

The request message to create a TagBinding.

Protobuf type google.cloud.resourcemanager.v3.CreateTagBindingRequest

Static Fields

TAG_BINDING_FIELD_NUMBER

public static final int TAG_BINDING_FIELD_NUMBER
Field Value
TypeDescription
int

VALIDATE_ONLY_FIELD_NUMBER

public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateTagBindingRequest getDefaultInstance()
Returns
TypeDescription
CreateTagBindingRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CreateTagBindingRequest.Builder newBuilder()
Returns
TypeDescription
CreateTagBindingRequest.Builder

newBuilder(CreateTagBindingRequest prototype)

public static CreateTagBindingRequest.Builder newBuilder(CreateTagBindingRequest prototype)
Parameter
NameDescription
prototypeCreateTagBindingRequest
Returns
TypeDescription
CreateTagBindingRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateTagBindingRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateTagBindingRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateTagBindingRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateTagBindingRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateTagBindingRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateTagBindingRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateTagBindingRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateTagBindingRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateTagBindingRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateTagBindingRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateTagBindingRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateTagBindingRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateTagBindingRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateTagBindingRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateTagBindingRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateTagBindingRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateTagBindingRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateTagBindingRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateTagBindingRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateTagBindingRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateTagBindingRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateTagBindingRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateTagBindingRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateTagBindingRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateTagBindingRequest> parser()
Returns
TypeDescription
Parser<CreateTagBindingRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CreateTagBindingRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateTagBindingRequest

getParserForType()

public Parser<CreateTagBindingRequest> getParserForType()
Returns
TypeDescription
Parser<CreateTagBindingRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTagBinding()

public TagBinding getTagBinding()

Required. The TagBinding to be created.

.google.cloud.resourcemanager.v3.TagBinding tag_binding = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TagBinding

The tagBinding.

getTagBindingOrBuilder()

public TagBindingOrBuilder getTagBindingOrBuilder()

Required. The TagBinding to be created.

.google.cloud.resourcemanager.v3.TagBinding tag_binding = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TagBindingOrBuilder

getValidateOnly()

public boolean getValidateOnly()

Optional. Set to true to perform the validations necessary for creating the resource, but not actually perform the action.

bool validate_only = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The validateOnly.

hasTagBinding()

public boolean hasTagBinding()

Required. The TagBinding to be created.

.google.cloud.resourcemanager.v3.TagBinding tag_binding = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the tagBinding field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateTagBindingRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateTagBindingRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateTagBindingRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateTagBindingRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateTagBindingRequest.Builder toBuilder()
Returns
TypeDescription
CreateTagBindingRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException