public static final class AspectType.MetadataTemplate extends GeneratedMessageV3 implements AspectType.MetadataTemplateOrBuilder
MetadataTemplate definition for an AspectType.
Protobuf type google.cloud.dataplex.v1.AspectType.MetadataTemplate
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ANNOTATIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ARRAY_ITEMS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int CONSTRAINTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ENUM_VALUES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int INDEX_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int MAP_ITEMS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int RECORD_FIELDS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TYPE_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TYPE_REF_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static AspectType.MetadataTemplate getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static AspectType.MetadataTemplate.Builder newBuilder()
public static AspectType.MetadataTemplate.Builder newBuilder(AspectType.MetadataTemplate prototype)
public static AspectType.MetadataTemplate parseDelimitedFrom(InputStream input)
public static AspectType.MetadataTemplate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AspectType.MetadataTemplate parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static AspectType.MetadataTemplate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AspectType.MetadataTemplate parseFrom(ByteString data)
public static AspectType.MetadataTemplate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AspectType.MetadataTemplate parseFrom(CodedInputStream input)
public static AspectType.MetadataTemplate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AspectType.MetadataTemplate parseFrom(InputStream input)
public static AspectType.MetadataTemplate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AspectType.MetadataTemplate parseFrom(ByteBuffer data)
public static AspectType.MetadataTemplate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<AspectType.MetadataTemplate> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public AspectType.MetadataTemplate.Annotations getAnnotations()
Optional. Specifies annotations on this field.
.google.cloud.dataplex.v1.AspectType.MetadataTemplate.Annotations annotations = 51 [(.google.api.field_behavior) = OPTIONAL];
public AspectType.MetadataTemplate.AnnotationsOrBuilder getAnnotationsOrBuilder()
Optional. Specifies annotations on this field.
.google.cloud.dataplex.v1.AspectType.MetadataTemplate.Annotations annotations = 51 [(.google.api.field_behavior) = OPTIONAL];
public AspectType.MetadataTemplate getArrayItems()
Optional. If the type is array, set array_items. array_items can refer
to a primitive field or a complex (record only) field. To specify a
primitive field, you only need to set name and type in the nested
MetadataTemplate. The recommended value for the name field is item, as
this isn't used in the actual payload.
.google.cloud.dataplex.v1.AspectType.MetadataTemplate array_items = 11 [(.google.api.field_behavior) = OPTIONAL];
public AspectType.MetadataTemplateOrBuilder getArrayItemsOrBuilder()
Optional. If the type is array, set array_items. array_items can refer
to a primitive field or a complex (record only) field. To specify a
primitive field, you only need to set name and type in the nested
MetadataTemplate. The recommended value for the name field is item, as
this isn't used in the actual payload.
.google.cloud.dataplex.v1.AspectType.MetadataTemplate array_items = 11 [(.google.api.field_behavior) = OPTIONAL];
public AspectType.MetadataTemplate.Constraints getConstraints()
Optional. Specifies the constraints on this field.
.google.cloud.dataplex.v1.AspectType.MetadataTemplate.Constraints constraints = 50 [(.google.api.field_behavior) = OPTIONAL];
public AspectType.MetadataTemplate.ConstraintsOrBuilder getConstraintsOrBuilder()
Optional. Specifies the constraints on this field.
.google.cloud.dataplex.v1.AspectType.MetadataTemplate.Constraints constraints = 50 [(.google.api.field_behavior) = OPTIONAL];
public AspectType.MetadataTemplate getDefaultInstanceForType()
public AspectType.MetadataTemplate.EnumValue getEnumValues(int index)
Optional. The list of values for an enum type. You must define it if the
type is enum.
repeated .google.cloud.dataplex.v1.AspectType.MetadataTemplate.EnumValue enum_values = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
public int getEnumValuesCount()
Optional. The list of values for an enum type. You must define it if the
type is enum.
repeated .google.cloud.dataplex.v1.AspectType.MetadataTemplate.EnumValue enum_values = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
public List<AspectType.MetadataTemplate.EnumValue> getEnumValuesList()
Optional. The list of values for an enum type. You must define it if the
type is enum.
repeated .google.cloud.dataplex.v1.AspectType.MetadataTemplate.EnumValue enum_values = 8 [(.google.api.field_behavior) = OPTIONAL];
public AspectType.MetadataTemplate.EnumValueOrBuilder getEnumValuesOrBuilder(int index)
Optional. The list of values for an enum type. You must define it if the
type is enum.
repeated .google.cloud.dataplex.v1.AspectType.MetadataTemplate.EnumValue enum_values = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
public List<? extends AspectType.MetadataTemplate.EnumValueOrBuilder> getEnumValuesOrBuilderList()
Optional. The list of values for an enum type. You must define it if the
type is enum.
repeated .google.cloud.dataplex.v1.AspectType.MetadataTemplate.EnumValue enum_values = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.dataplex.v1.AspectType.MetadataTemplate.EnumValueOrBuilder> |
|
Optional. Index is used to encode Template messages. The value of index
can range between 1 and 2,147,483,647. Index must be unique within all
fields in a Template. (Nested Templates can reuse indexes). Once a
Template is defined, the index cannot be changed, because it identifies
the field in the actual storage format. Index is a mandatory field, but
it is optional for top level fields, and map/array "values" definitions.
int32 index = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The index.
|
public AspectType.MetadataTemplate getMapItems()
Optional. If the type is map, set map_items. map_items can refer to a
primitive field or a complex (record only) field. To specify a primitive
field, you only need to set name and type in the nested
MetadataTemplate. The recommended value for the name field is item, as
this isn't used in the actual payload.
.google.cloud.dataplex.v1.AspectType.MetadataTemplate map_items = 10 [(.google.api.field_behavior) = OPTIONAL];
public AspectType.MetadataTemplateOrBuilder getMapItemsOrBuilder()
Optional. If the type is map, set map_items. map_items can refer to a
primitive field or a complex (record only) field. To specify a primitive
field, you only need to set name and type in the nested
MetadataTemplate. The recommended value for the name field is item, as
this isn't used in the actual payload.
.google.cloud.dataplex.v1.AspectType.MetadataTemplate map_items = 10 [(.google.api.field_behavior) = OPTIONAL];
Required. The name of the field.
string name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
Required. The name of the field.
string name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
public Parser<AspectType.MetadataTemplate> getParserForType()
Overrides
public AspectType.MetadataTemplate getRecordFields(int index)
Optional. Field definition. You must specify it if the type is record. It
defines the nested fields.
repeated .google.cloud.dataplex.v1.AspectType.MetadataTemplate record_fields = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
public int getRecordFieldsCount()
Optional. Field definition. You must specify it if the type is record. It
defines the nested fields.
repeated .google.cloud.dataplex.v1.AspectType.MetadataTemplate record_fields = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
public List<AspectType.MetadataTemplate> getRecordFieldsList()
Optional. Field definition. You must specify it if the type is record. It
defines the nested fields.
repeated .google.cloud.dataplex.v1.AspectType.MetadataTemplate record_fields = 6 [(.google.api.field_behavior) = OPTIONAL];
public AspectType.MetadataTemplateOrBuilder getRecordFieldsOrBuilder(int index)
Optional. Field definition. You must specify it if the type is record. It
defines the nested fields.
repeated .google.cloud.dataplex.v1.AspectType.MetadataTemplate record_fields = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
public List<? extends AspectType.MetadataTemplateOrBuilder> getRecordFieldsOrBuilderList()
Optional. Field definition. You must specify it if the type is record. It
defines the nested fields.
repeated .google.cloud.dataplex.v1.AspectType.MetadataTemplate record_fields = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.dataplex.v1.AspectType.MetadataTemplateOrBuilder> |
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
Required. The datatype of this field. The following values are supported:
Primitive types:
string type = 5 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The type.
|
public ByteString getTypeBytes()
Required. The datatype of this field. The following values are supported:
Primitive types:
string type = 5 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for type.
|
public String getTypeId()
Optional. You can use type id if this definition of the field needs to be
reused later. The type id must be unique across the entire template. You
can only specify it if the field type is record.
string type_id = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The typeId.
|
public ByteString getTypeIdBytes()
Optional. You can use type id if this definition of the field needs to be
reused later. The type id must be unique across the entire template. You
can only specify it if the field type is record.
string type_id = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for typeId.
|
public String getTypeRef()
Optional. A reference to another field definition (not an inline
definition). The value must be equal to the value of an id field defined
elsewhere in the MetadataTemplate. Only fields with record type can
refer to other fields.
string type_ref = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The typeRef.
|
public ByteString getTypeRefBytes()
Optional. A reference to another field definition (not an inline
definition). The value must be equal to the value of an id field defined
elsewhere in the MetadataTemplate. Only fields with record type can
refer to other fields.
string type_ref = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for typeRef.
|
public boolean hasAnnotations()
Optional. Specifies annotations on this field.
.google.cloud.dataplex.v1.AspectType.MetadataTemplate.Annotations annotations = 51 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the annotations field is set.
|
public boolean hasArrayItems()
Optional. If the type is array, set array_items. array_items can refer
to a primitive field or a complex (record only) field. To specify a
primitive field, you only need to set name and type in the nested
MetadataTemplate. The recommended value for the name field is item, as
this isn't used in the actual payload.
.google.cloud.dataplex.v1.AspectType.MetadataTemplate array_items = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the arrayItems field is set.
|
public boolean hasConstraints()
Optional. Specifies the constraints on this field.
.google.cloud.dataplex.v1.AspectType.MetadataTemplate.Constraints constraints = 50 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the constraints field is set.
|
public boolean hasMapItems()
Optional. If the type is map, set map_items. map_items can refer to a
primitive field or a complex (record only) field. To specify a primitive
field, you only need to set name and type in the nested
MetadataTemplate. The recommended value for the name field is item, as
this isn't used in the actual payload.
.google.cloud.dataplex.v1.AspectType.MetadataTemplate map_items = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the mapItems field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AspectType.MetadataTemplate.Builder newBuilderForType()
protected AspectType.MetadataTemplate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public AspectType.MetadataTemplate.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides