- 1.59.0 (latest)
- 1.58.0
- 1.57.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.5
- 1.8.4
- 1.7.2
- 1.6.2
- 1.5.4
public final class TagTemplateField extends GeneratedMessageV3 implements TagTemplateFieldOrBuilder
The template for an individual field within a tag template.
Protobuf type google.cloud.datacatalog.v1beta1.TagTemplateField
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TagTemplateFieldImplements
TagTemplateFieldOrBuilderFields
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Type | Description |
int |
IS_REQUIRED_FIELD_NUMBER
public static final int IS_REQUIRED_FIELD_NUMBER
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
ORDER_FIELD_NUMBER
public static final int ORDER_FIELD_NUMBER
Type | Description |
int |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static TagTemplateField getDefaultInstance()
Type | Description |
TagTemplateField |
getDefaultInstanceForType()
public TagTemplateField getDefaultInstanceForType()
Type | Description |
TagTemplateField |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
The display name for this field. Defaults to an empty string.
string display_name = 1;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The display name for this field. Defaults to an empty string.
string display_name = 1;
Type | Description |
ByteString | The bytes for displayName. |
getIsRequired()
public boolean getIsRequired()
Whether this is a required field. Defaults to false.
bool is_required = 3;
Type | Description |
boolean | The isRequired. |
getName()
public String getName()
Output only. The resource name of the tag template field in URL format. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field} Note that this TagTemplateField may not actually be stored in the location in this name.
string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name of the tag template field in URL format. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field} Note that this TagTemplateField may not actually be stored in the location in this name.
string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getOrder()
public int getOrder()
The order of this field with respect to other fields in this tag template. A higher value indicates a more important field. The value can be negative. Multiple fields can have the same order, and field orders within a tag do not have to be sequential.
int32 order = 5;
Type | Description |
int | The order. |
getParserForType()
public Parser<TagTemplateField> getParserForType()
Type | Description |
Parser<TagTemplateField> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getType()
public FieldType getType()
Required. The type of value this tag field can contain.
.google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
FieldType | The type. |
getTypeOrBuilder()
public FieldTypeOrBuilder getTypeOrBuilder()
Required. The type of value this tag field can contain.
.google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
FieldTypeOrBuilder |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasType()
public boolean hasType()
Required. The type of value this tag field can contain.
.google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the type field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static TagTemplateField.Builder newBuilder()
Type | Description |
TagTemplateField.Builder |
newBuilder(TagTemplateField prototype)
public static TagTemplateField.Builder newBuilder(TagTemplateField prototype)
Name | Description |
prototype | TagTemplateField |
Type | Description |
TagTemplateField.Builder |
newBuilderForType()
public TagTemplateField.Builder newBuilderForType()
Type | Description |
TagTemplateField.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TagTemplateField.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
TagTemplateField.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static TagTemplateField parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
TagTemplateField |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TagTemplateField parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TagTemplateField |
Type | Description |
IOException |
parseFrom(byte[] data)
public static TagTemplateField parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
TagTemplateField |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TagTemplateField parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TagTemplateField |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static TagTemplateField parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
TagTemplateField |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TagTemplateField parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TagTemplateField |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static TagTemplateField parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
TagTemplateField |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TagTemplateField parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TagTemplateField |
Type | Description |
IOException |
parseFrom(InputStream input)
public static TagTemplateField parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
TagTemplateField |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TagTemplateField parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TagTemplateField |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static TagTemplateField parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
TagTemplateField |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TagTemplateField parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TagTemplateField |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<TagTemplateField> parser()
Type | Description |
Parser<TagTemplateField> |
toBuilder()
public TagTemplateField.Builder toBuilder()
Type | Description |
TagTemplateField.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |