Class AspectType.MetadataTemplate.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AspectType.MetadataTemplate.Builder>
com.google.cloud.dataplex.v1.AspectType.MetadataTemplate.Builder
All Implemented Interfaces:
AspectType.MetadataTemplateOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AspectType.MetadataTemplate

public static final class AspectType.MetadataTemplate.Builder extends com.google.protobuf.GeneratedMessage.Builder<AspectType.MetadataTemplate.Builder> implements AspectType.MetadataTemplateOrBuilder
 MetadataTemplate definition for an AspectType.
 
Protobuf type google.cloud.dataplex.v1.AspectType.MetadataTemplate
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AspectType.MetadataTemplate.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AspectType.MetadataTemplate.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AspectType.MetadataTemplate.Builder>
    • getDefaultInstanceForType

      public AspectType.MetadataTemplate getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AspectType.MetadataTemplate buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AspectType.MetadataTemplate.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AspectType.MetadataTemplate.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AspectType.MetadataTemplate.Builder>
    • mergeFrom

      public AspectType.MetadataTemplate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AspectType.MetadataTemplate.Builder>
      Throws:
      IOException
    • getIndex

      public int getIndex()
       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];
      Specified by:
      getIndex in interface AspectType.MetadataTemplateOrBuilder
      Returns:
      The index.
    • setIndex

      public AspectType.MetadataTemplate.Builder setIndex(int value)
       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];
      Parameters:
      value - The index to set.
      Returns:
      This builder for chaining.
    • clearIndex

       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:
      This builder for chaining.
    • getName

      public String getName()
       Required. The name of the field.
       
      string name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getName in interface AspectType.MetadataTemplateOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The name of the field.
       
      string name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNameBytes in interface AspectType.MetadataTemplateOrBuilder
      Returns:
      The bytes for name.
    • setName

       Required. The name of the field.
       
      string name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Required. The name of the field.
       
      string name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setNameBytes

      public AspectType.MetadataTemplate.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The name of the field.
       
      string name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getType

      public String getType()
       Required. The datatype of this field. The following values are supported:
      
       Primitive types:
      
       * string
       * int
       * bool
       * double
       * datetime. Must be of the format RFC3339 UTC "Zulu" (Examples:
       "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z").
      
       Complex types:
      
       * enum
       * array
       * map
       * record
       
      string type = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getType in interface AspectType.MetadataTemplateOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       Required. The datatype of this field. The following values are supported:
      
       Primitive types:
      
       * string
       * int
       * bool
       * double
       * datetime. Must be of the format RFC3339 UTC "Zulu" (Examples:
       "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z").
      
       Complex types:
      
       * enum
       * array
       * map
       * record
       
      string type = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTypeBytes in interface AspectType.MetadataTemplateOrBuilder
      Returns:
      The bytes for type.
    • setType

       Required. The datatype of this field. The following values are supported:
      
       Primitive types:
      
       * string
       * int
       * bool
       * double
       * datetime. Must be of the format RFC3339 UTC "Zulu" (Examples:
       "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z").
      
       Complex types:
      
       * enum
       * array
       * map
       * record
       
      string type = 5 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

       Required. The datatype of this field. The following values are supported:
      
       Primitive types:
      
       * string
       * int
       * bool
       * double
       * datetime. Must be of the format RFC3339 UTC "Zulu" (Examples:
       "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z").
      
       Complex types:
      
       * enum
       * array
       * map
       * record
       
      string type = 5 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setTypeBytes

      public AspectType.MetadataTemplate.Builder setTypeBytes(com.google.protobuf.ByteString value)
       Required. The datatype of this field. The following values are supported:
      
       Primitive types:
      
       * string
       * int
       * bool
       * double
       * datetime. Must be of the format RFC3339 UTC "Zulu" (Examples:
       "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z").
      
       Complex types:
      
       * enum
       * array
       * map
       * record
       
      string type = 5 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.
    • getRecordFieldsList

      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];
      Specified by:
      getRecordFieldsList in interface AspectType.MetadataTemplateOrBuilder
    • getRecordFieldsCount

      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];
      Specified by:
      getRecordFieldsCount in interface AspectType.MetadataTemplateOrBuilder
    • getRecordFields

      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];
      Specified by:
      getRecordFields in interface AspectType.MetadataTemplateOrBuilder
    • setRecordFields

      public AspectType.MetadataTemplate.Builder setRecordFields(int index, AspectType.MetadataTemplate value)
       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];
    • setRecordFields

      public AspectType.MetadataTemplate.Builder setRecordFields(int index, AspectType.MetadataTemplate.Builder builderForValue)
       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];
    • addRecordFields

       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];
    • addRecordFields

      public AspectType.MetadataTemplate.Builder addRecordFields(int index, AspectType.MetadataTemplate value)
       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];
    • addRecordFields

       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];
    • addRecordFields

      public AspectType.MetadataTemplate.Builder addRecordFields(int index, AspectType.MetadataTemplate.Builder builderForValue)
       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];
    • addAllRecordFields

      public AspectType.MetadataTemplate.Builder addAllRecordFields(Iterable<? extends AspectType.MetadataTemplate> values)
       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];
    • clearRecordFields

      public AspectType.MetadataTemplate.Builder clearRecordFields()
       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];
    • removeRecordFields

      public AspectType.MetadataTemplate.Builder removeRecordFields(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];
    • getRecordFieldsBuilder

      public AspectType.MetadataTemplate.Builder getRecordFieldsBuilder(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];
    • getRecordFieldsOrBuilder

      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];
      Specified by:
      getRecordFieldsOrBuilder in interface AspectType.MetadataTemplateOrBuilder
    • getRecordFieldsOrBuilderList

      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];
      Specified by:
      getRecordFieldsOrBuilderList in interface AspectType.MetadataTemplateOrBuilder
    • addRecordFieldsBuilder

      public AspectType.MetadataTemplate.Builder addRecordFieldsBuilder()
       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];
    • addRecordFieldsBuilder

      public AspectType.MetadataTemplate.Builder addRecordFieldsBuilder(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];
    • getRecordFieldsBuilderList

      public List<AspectType.MetadataTemplate.Builder> getRecordFieldsBuilderList()
       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];
    • getEnumValuesList

      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];
      Specified by:
      getEnumValuesList in interface AspectType.MetadataTemplateOrBuilder
    • getEnumValuesCount

      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];
      Specified by:
      getEnumValuesCount in interface AspectType.MetadataTemplateOrBuilder
    • getEnumValues

      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];
      Specified by:
      getEnumValues in interface AspectType.MetadataTemplateOrBuilder
    • setEnumValues

       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];
    • setEnumValues

      public AspectType.MetadataTemplate.Builder setEnumValues(int index, AspectType.MetadataTemplate.EnumValue.Builder builderForValue)
       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];
    • addEnumValues

       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];
    • addEnumValues

       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];
    • addEnumValues

       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];
    • addEnumValues

      public AspectType.MetadataTemplate.Builder addEnumValues(int index, AspectType.MetadataTemplate.EnumValue.Builder builderForValue)
       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];
    • addAllEnumValues

       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];
    • clearEnumValues

      public AspectType.MetadataTemplate.Builder clearEnumValues()
       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];
    • removeEnumValues

      public AspectType.MetadataTemplate.Builder removeEnumValues(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];
    • getEnumValuesBuilder

      public AspectType.MetadataTemplate.EnumValue.Builder getEnumValuesBuilder(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];
    • getEnumValuesOrBuilder

      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];
      Specified by:
      getEnumValuesOrBuilder in interface AspectType.MetadataTemplateOrBuilder
    • getEnumValuesOrBuilderList

      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];
      Specified by:
      getEnumValuesOrBuilderList in interface AspectType.MetadataTemplateOrBuilder
    • addEnumValuesBuilder

      public AspectType.MetadataTemplate.EnumValue.Builder addEnumValuesBuilder()
       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];
    • addEnumValuesBuilder

      public AspectType.MetadataTemplate.EnumValue.Builder addEnumValuesBuilder(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];
    • getEnumValuesBuilderList

      public List<AspectType.MetadataTemplate.EnumValue.Builder> getEnumValuesBuilderList()
       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];
    • hasMapItems

      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];
      Specified by:
      hasMapItems in interface AspectType.MetadataTemplateOrBuilder
      Returns:
      Whether the mapItems field is set.
    • getMapItems

      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];
      Specified by:
      getMapItems in interface AspectType.MetadataTemplateOrBuilder
      Returns:
      The mapItems.
    • setMapItems

       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];
    • setMapItems

       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];
    • mergeMapItems

       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];
    • clearMapItems

      public AspectType.MetadataTemplate.Builder clearMapItems()
       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];
    • getMapItemsBuilder

      public AspectType.MetadataTemplate.Builder getMapItemsBuilder()
       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];
    • getMapItemsOrBuilder

      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];
      Specified by:
      getMapItemsOrBuilder in interface AspectType.MetadataTemplateOrBuilder
    • hasArrayItems

      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];
      Specified by:
      hasArrayItems in interface AspectType.MetadataTemplateOrBuilder
      Returns:
      Whether the arrayItems field is set.
    • getArrayItems

      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];
      Specified by:
      getArrayItems in interface AspectType.MetadataTemplateOrBuilder
      Returns:
      The arrayItems.
    • setArrayItems

       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];
    • setArrayItems

       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];
    • mergeArrayItems

       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];
    • clearArrayItems

      public AspectType.MetadataTemplate.Builder clearArrayItems()
       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];
    • getArrayItemsBuilder

      public AspectType.MetadataTemplate.Builder getArrayItemsBuilder()
       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];
    • getArrayItemsOrBuilder

      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];
      Specified by:
      getArrayItemsOrBuilder in interface AspectType.MetadataTemplateOrBuilder
    • getTypeId

      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];
      Specified by:
      getTypeId in interface AspectType.MetadataTemplateOrBuilder
      Returns:
      The typeId.
    • getTypeIdBytes

      public com.google.protobuf.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];
      Specified by:
      getTypeIdBytes in interface AspectType.MetadataTemplateOrBuilder
      Returns:
      The bytes for typeId.
    • setTypeId

      public AspectType.MetadataTemplate.Builder setTypeId(String value)
       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];
      Parameters:
      value - The typeId to set.
      Returns:
      This builder for chaining.
    • clearTypeId

       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:
      This builder for chaining.
    • setTypeIdBytes

      public AspectType.MetadataTemplate.Builder setTypeIdBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for typeId to set.
      Returns:
      This builder for chaining.
    • getTypeRef

      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];
      Specified by:
      getTypeRef in interface AspectType.MetadataTemplateOrBuilder
      Returns:
      The typeRef.
    • getTypeRefBytes

      public com.google.protobuf.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];
      Specified by:
      getTypeRefBytes in interface AspectType.MetadataTemplateOrBuilder
      Returns:
      The bytes for typeRef.
    • setTypeRef

      public AspectType.MetadataTemplate.Builder setTypeRef(String value)
       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];
      Parameters:
      value - The typeRef to set.
      Returns:
      This builder for chaining.
    • clearTypeRef

      public AspectType.MetadataTemplate.Builder clearTypeRef()
       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:
      This builder for chaining.
    • setTypeRefBytes

      public AspectType.MetadataTemplate.Builder setTypeRefBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for typeRef to set.
      Returns:
      This builder for chaining.
    • hasConstraints

      public boolean hasConstraints()
       Optional. Specifies the constraints on this field.
       
      .google.cloud.dataplex.v1.AspectType.MetadataTemplate.Constraints constraints = 50 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasConstraints in interface AspectType.MetadataTemplateOrBuilder
      Returns:
      Whether the constraints field is set.
    • getConstraints

      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];
      Specified by:
      getConstraints in interface AspectType.MetadataTemplateOrBuilder
      Returns:
      The constraints.
    • setConstraints

       Optional. Specifies the constraints on this field.
       
      .google.cloud.dataplex.v1.AspectType.MetadataTemplate.Constraints constraints = 50 [(.google.api.field_behavior) = OPTIONAL];
    • setConstraints

       Optional. Specifies the constraints on this field.
       
      .google.cloud.dataplex.v1.AspectType.MetadataTemplate.Constraints constraints = 50 [(.google.api.field_behavior) = OPTIONAL];
    • mergeConstraints

       Optional. Specifies the constraints on this field.
       
      .google.cloud.dataplex.v1.AspectType.MetadataTemplate.Constraints constraints = 50 [(.google.api.field_behavior) = OPTIONAL];
    • clearConstraints

      public AspectType.MetadataTemplate.Builder clearConstraints()
       Optional. Specifies the constraints on this field.
       
      .google.cloud.dataplex.v1.AspectType.MetadataTemplate.Constraints constraints = 50 [(.google.api.field_behavior) = OPTIONAL];
    • getConstraintsBuilder

      public AspectType.MetadataTemplate.Constraints.Builder getConstraintsBuilder()
       Optional. Specifies the constraints on this field.
       
      .google.cloud.dataplex.v1.AspectType.MetadataTemplate.Constraints constraints = 50 [(.google.api.field_behavior) = OPTIONAL];
    • getConstraintsOrBuilder

      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];
      Specified by:
      getConstraintsOrBuilder in interface AspectType.MetadataTemplateOrBuilder
    • hasAnnotations

      public boolean hasAnnotations()
       Optional. Specifies annotations on this field.
       
      .google.cloud.dataplex.v1.AspectType.MetadataTemplate.Annotations annotations = 51 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAnnotations in interface AspectType.MetadataTemplateOrBuilder
      Returns:
      Whether the annotations field is set.
    • getAnnotations

      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];
      Specified by:
      getAnnotations in interface AspectType.MetadataTemplateOrBuilder
      Returns:
      The annotations.
    • setAnnotations

       Optional. Specifies annotations on this field.
       
      .google.cloud.dataplex.v1.AspectType.MetadataTemplate.Annotations annotations = 51 [(.google.api.field_behavior) = OPTIONAL];
    • setAnnotations

       Optional. Specifies annotations on this field.
       
      .google.cloud.dataplex.v1.AspectType.MetadataTemplate.Annotations annotations = 51 [(.google.api.field_behavior) = OPTIONAL];
    • mergeAnnotations

       Optional. Specifies annotations on this field.
       
      .google.cloud.dataplex.v1.AspectType.MetadataTemplate.Annotations annotations = 51 [(.google.api.field_behavior) = OPTIONAL];
    • clearAnnotations

      public AspectType.MetadataTemplate.Builder clearAnnotations()
       Optional. Specifies annotations on this field.
       
      .google.cloud.dataplex.v1.AspectType.MetadataTemplate.Annotations annotations = 51 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotationsBuilder

      public AspectType.MetadataTemplate.Annotations.Builder getAnnotationsBuilder()
       Optional. Specifies annotations on this field.
       
      .google.cloud.dataplex.v1.AspectType.MetadataTemplate.Annotations annotations = 51 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotationsOrBuilder

      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];
      Specified by:
      getAnnotationsOrBuilder in interface AspectType.MetadataTemplateOrBuilder