public static final class CreateTagBindingRequest.Builder extends GeneratedMessageV3.Builder<CreateTagBindingRequest.Builder> implements CreateTagBindingRequestOrBuilder
The request message to create a TagBinding.
Protobuf type google.cloud.resourcemanager.v3.CreateTagBindingRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateTagBindingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateTagBindingRequest build()
buildPartial()
public CreateTagBindingRequest buildPartial()
clear()
public CreateTagBindingRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateTagBindingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateTagBindingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTagBinding()
public CreateTagBindingRequest.Builder clearTagBinding()
Required. The TagBinding to be created.
.google.cloud.resourcemanager.v3.TagBinding tag_binding = 1 [(.google.api.field_behavior) = REQUIRED];
clearValidateOnly()
public CreateTagBindingRequest.Builder clearValidateOnly()
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];
clone()
public CreateTagBindingRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateTagBindingRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
TagBinding |
The tagBinding.
|
getTagBindingBuilder()
public TagBinding.Builder getTagBindingBuilder()
Required. The TagBinding to be created.
.google.cloud.resourcemanager.v3.TagBinding tag_binding = 1 [(.google.api.field_behavior) = REQUIRED];
getTagBindingOrBuilder()
public TagBindingOrBuilder getTagBindingOrBuilder()
Required. The TagBinding to be created.
.google.cloud.resourcemanager.v3.TagBinding tag_binding = 1 [(.google.api.field_behavior) = REQUIRED];
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 |
Type |
Description |
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 |
Type |
Description |
boolean |
Whether the tagBinding field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateTagBindingRequest other)
public CreateTagBindingRequest.Builder mergeFrom(CreateTagBindingRequest other)
public CreateTagBindingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateTagBindingRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeTagBinding(TagBinding value)
public CreateTagBindingRequest.Builder mergeTagBinding(TagBinding value)
Required. The TagBinding to be created.
.google.cloud.resourcemanager.v3.TagBinding tag_binding = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateTagBindingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateTagBindingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateTagBindingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTagBinding(TagBinding value)
public CreateTagBindingRequest.Builder setTagBinding(TagBinding value)
Required. The TagBinding to be created.
.google.cloud.resourcemanager.v3.TagBinding tag_binding = 1 [(.google.api.field_behavior) = REQUIRED];
setTagBinding(TagBinding.Builder builderForValue)
public CreateTagBindingRequest.Builder setTagBinding(TagBinding.Builder builderForValue)
Required. The TagBinding to be created.
.google.cloud.resourcemanager.v3.TagBinding tag_binding = 1 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateTagBindingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setValidateOnly(boolean value)
public CreateTagBindingRequest.Builder setValidateOnly(boolean value)
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];
Parameter |
Name |
Description |
value |
boolean
The validateOnly to set.
|