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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateTagBindingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateTagBindingRequest build()
Returns
buildPartial()
public CreateTagBindingRequest buildPartial()
Returns
clear()
public CreateTagBindingRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateTagBindingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateTagBindingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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];
Returns
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];
Returns
clone()
public CreateTagBindingRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateTagBindingRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
getTagBindingBuilder()
public TagBinding.Builder getTagBindingBuilder()
Required. The TagBinding to be created.
.google.cloud.resourcemanager.v3.TagBinding tag_binding = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getTagBindingOrBuilder()
public TagBindingOrBuilder getTagBindingOrBuilder()
Required. The TagBinding to be created.
.google.cloud.resourcemanager.v3.TagBinding tag_binding = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateTagBindingRequest other)
public CreateTagBindingRequest.Builder mergeFrom(CreateTagBindingRequest other)
Parameter
Returns
public CreateTagBindingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateTagBindingRequest.Builder mergeFrom(Message other)
Parameter
Returns
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];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateTagBindingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateTagBindingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateTagBindingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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];
Parameter
Returns
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];
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateTagBindingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns