Interface TagTemplateFieldOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TagTemplateField,TagTemplateField.Builder
@Generated
public interface TagTemplateFieldOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe description for this field.com.google.protobuf.ByteStringThe description for this field.The display name for this field.com.google.protobuf.ByteStringThe display name for this field.booleanWhether this is a required field.getName()Output only.com.google.protobuf.ByteStringOutput only.intgetOrder()The order of this field with respect to other fields in this tag template.getType()Required.Required.booleanhasType()Required.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Output only. Identifier. 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) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. Identifier. 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) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()The display name for this field. Defaults to an empty string.
string display_name = 1;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()The display name for this field. Defaults to an empty string.
string display_name = 1;- Returns:
- The bytes for displayName.
-
hasType
boolean hasType()Required. The type of value this tag field can contain.
.google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the type field is set.
-
getType
FieldType getType()Required. The type of value this tag field can contain.
.google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The type.
-
getTypeOrBuilder
FieldTypeOrBuilder getTypeOrBuilder()Required. The type of value this tag field can contain.
.google.cloud.datacatalog.v1beta1.FieldType type = 2 [(.google.api.field_behavior) = REQUIRED]; -
getIsRequired
boolean getIsRequired()Whether this is a required field. Defaults to false.
bool is_required = 3;- Returns:
- The isRequired.
-
getDescription
String getDescription()The description for this field. Defaults to an empty string.
string description = 4;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()The description for this field. Defaults to an empty string.
string description = 4;- Returns:
- The bytes for description.
-
getOrder
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;- Returns:
- The order.
-