public static final class CreateTagKeyRequest.Builder extends GeneratedMessageV3.Builder<CreateTagKeyRequest.Builder> implements CreateTagKeyRequestOrBuilder
The request message for creating a TagKey.
Protobuf type google.cloud.resourcemanager.v3.CreateTagKeyRequest
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 CreateTagKeyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateTagKeyRequest build()
buildPartial()
public CreateTagKeyRequest buildPartial()
clear()
public CreateTagKeyRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateTagKeyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateTagKeyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTagKey()
public CreateTagKeyRequest.Builder clearTagKey()
Required. The TagKey to be created. Only fields short_name
,
description
, and parent
are considered during the creation request.
.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
clearValidateOnly()
public CreateTagKeyRequest.Builder clearValidateOnly()
Optional. Set to true to perform validations necessary for creating the
resource, but not actually perform the action.
bool validate_only = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public CreateTagKeyRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateTagKeyRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTagKey()
public TagKey getTagKey()
Required. The TagKey to be created. Only fields short_name
,
description
, and parent
are considered during the creation request.
.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
TagKey | The tagKey.
|
getTagKeyBuilder()
public TagKey.Builder getTagKeyBuilder()
Required. The TagKey to be created. Only fields short_name
,
description
, and parent
are considered during the creation request.
.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
getTagKeyOrBuilder()
public TagKeyOrBuilder getTagKeyOrBuilder()
Required. The TagKey to be created. Only fields short_name
,
description
, and parent
are considered during the creation request.
.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
getValidateOnly()
public boolean getValidateOnly()
Optional. Set to true to perform 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.
|
hasTagKey()
public boolean hasTagKey()
Required. The TagKey to be created. Only fields short_name
,
description
, and parent
are considered during the creation request.
.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the tagKey field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateTagKeyRequest other)
public CreateTagKeyRequest.Builder mergeFrom(CreateTagKeyRequest other)
public CreateTagKeyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateTagKeyRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeTagKey(TagKey value)
public CreateTagKeyRequest.Builder mergeTagKey(TagKey value)
Required. The TagKey to be created. Only fields short_name
,
description
, and parent
are considered during the creation request.
.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | TagKey
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateTagKeyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateTagKeyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateTagKeyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTagKey(TagKey value)
public CreateTagKeyRequest.Builder setTagKey(TagKey value)
Required. The TagKey to be created. Only fields short_name
,
description
, and parent
are considered during the creation request.
.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | TagKey
|
setTagKey(TagKey.Builder builderForValue)
public CreateTagKeyRequest.Builder setTagKey(TagKey.Builder builderForValue)
Required. The TagKey to be created. Only fields short_name
,
description
, and parent
are considered during the creation request.
.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateTagKeyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setValidateOnly(boolean value)
public CreateTagKeyRequest.Builder setValidateOnly(boolean value)
Optional. Set to true to perform 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.
|