public final class CreateTagTemplateFieldRequest extends GeneratedMessageV3 implements CreateTagTemplateFieldRequestOrBuilder
Request message for
CreateTagTemplateField.
Protobuf type google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest
Static Fields
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
TAG_TEMPLATE_FIELD_FIELD_NUMBER
public static final int TAG_TEMPLATE_FIELD_FIELD_NUMBER
Field Value
TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER
public static final int TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CreateTagTemplateFieldRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CreateTagTemplateFieldRequest.Builder newBuilder()
Returns
newBuilder(CreateTagTemplateFieldRequest prototype)
public static CreateTagTemplateFieldRequest.Builder newBuilder(CreateTagTemplateFieldRequest prototype)
Parameter
Returns
public static CreateTagTemplateFieldRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateTagTemplateFieldRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CreateTagTemplateFieldRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateTagTemplateFieldRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CreateTagTemplateFieldRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateTagTemplateFieldRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateTagTemplateFieldRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateTagTemplateFieldRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateTagTemplateFieldRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateTagTemplateFieldRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CreateTagTemplateFieldRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateTagTemplateFieldRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CreateTagTemplateFieldRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CreateTagTemplateFieldRequest getDefaultInstanceForType()
Returns
getParent()
public String getParent()
Required. The name of the project and the template location
region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The name of the project and the template location
region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getParserForType()
public Parser<CreateTagTemplateFieldRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTagTemplateField()
public TagTemplateField getTagTemplateField()
Required. The tag template field to create.
.google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getTagTemplateFieldId()
public String getTagTemplateFieldId()
Required. The ID of the tag template field to create.
Note: Adding a required field to an existing template is not allowed.
Field IDs can contain letters (both uppercase and lowercase), numbers
(0-9), underscores (_) and dashes (-). Field IDs must be at least 1
character long and at most 128 characters long. Field IDs must also be
unique within their template.
string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The tagTemplateFieldId.
|
getTagTemplateFieldIdBytes()
public ByteString getTagTemplateFieldIdBytes()
Required. The ID of the tag template field to create.
Note: Adding a required field to an existing template is not allowed.
Field IDs can contain letters (both uppercase and lowercase), numbers
(0-9), underscores (_) and dashes (-). Field IDs must be at least 1
character long and at most 128 characters long. Field IDs must also be
unique within their template.
string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for tagTemplateFieldId.
|
getTagTemplateFieldOrBuilder()
public TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder()
Required. The tag template field to create.
.google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasTagTemplateField()
public boolean hasTagTemplateField()
Required. The tag template field to create.
.google.cloud.datacatalog.v1.TagTemplateField tag_template_field = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the tagTemplateField field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CreateTagTemplateFieldRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateTagTemplateFieldRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CreateTagTemplateFieldRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions