Class Aspect.Builder

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

public static final class Aspect.Builder extends com.google.protobuf.GeneratedMessage.Builder<Aspect.Builder> implements AspectOrBuilder
 An aspect is a single piece of metadata describing an entry.
 
Protobuf type google.cloud.dataplex.v1.Aspect
  • 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<Aspect.Builder>
    • clear

      public Aspect.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<Aspect.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<Aspect.Builder>
    • getDefaultInstanceForType

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

      public Aspect build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public Aspect.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<Aspect.Builder>
    • mergeFrom

      public Aspect.Builder mergeFrom(Aspect other)
    • isInitialized

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

      public Aspect.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<Aspect.Builder>
      Throws:
      IOException
    • getAspectType

      public String getAspectType()
       Output only. The resource name of the type used to create this Aspect.
       
      string aspect_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAspectType in interface AspectOrBuilder
      Returns:
      The aspectType.
    • getAspectTypeBytes

      public com.google.protobuf.ByteString getAspectTypeBytes()
       Output only. The resource name of the type used to create this Aspect.
       
      string aspect_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAspectTypeBytes in interface AspectOrBuilder
      Returns:
      The bytes for aspectType.
    • setAspectType

      public Aspect.Builder setAspectType(String value)
       Output only. The resource name of the type used to create this Aspect.
       
      string aspect_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The aspectType to set.
      Returns:
      This builder for chaining.
    • clearAspectType

      public Aspect.Builder clearAspectType()
       Output only. The resource name of the type used to create this Aspect.
       
      string aspect_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setAspectTypeBytes

      public Aspect.Builder setAspectTypeBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the type used to create this Aspect.
       
      string aspect_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for aspectType to set.
      Returns:
      This builder for chaining.
    • getPath

      public String getPath()
       Output only. The path in the entry under which the aspect is attached.
       
      string path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPath in interface AspectOrBuilder
      Returns:
      The path.
    • getPathBytes

      public com.google.protobuf.ByteString getPathBytes()
       Output only. The path in the entry under which the aspect is attached.
       
      string path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPathBytes in interface AspectOrBuilder
      Returns:
      The bytes for path.
    • setPath

      public Aspect.Builder setPath(String value)
       Output only. The path in the entry under which the aspect is attached.
       
      string path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The path to set.
      Returns:
      This builder for chaining.
    • clearPath

      public Aspect.Builder clearPath()
       Output only. The path in the entry under which the aspect is attached.
       
      string path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setPathBytes

      public Aspect.Builder setPathBytes(com.google.protobuf.ByteString value)
       Output only. The path in the entry under which the aspect is attached.
       
      string path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for path to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time when the Aspect was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface AspectOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time when the Aspect was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface AspectOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Aspect.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the Aspect was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Aspect.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time when the Aspect was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Aspect.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the Aspect was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Aspect.Builder clearCreateTime()
       Output only. The time when the Aspect was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The time when the Aspect was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time when the Aspect was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface AspectOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time when the Aspect was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface AspectOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time when the Aspect was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface AspectOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Aspect.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the Aspect was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Aspect.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time when the Aspect was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Aspect.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time when the Aspect was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Aspect.Builder clearUpdateTime()
       Output only. The time when the Aspect was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The time when the Aspect was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time when the Aspect was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface AspectOrBuilder
    • hasData

      public boolean hasData()
       Required. The content of the aspect, according to its aspect type schema.
       The maximum size of the field is 120KB (encoded as UTF-8).
       
      .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasData in interface AspectOrBuilder
      Returns:
      Whether the data field is set.
    • getData

      public com.google.protobuf.Struct getData()
       Required. The content of the aspect, according to its aspect type schema.
       The maximum size of the field is 120KB (encoded as UTF-8).
       
      .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getData in interface AspectOrBuilder
      Returns:
      The data.
    • setData

      public Aspect.Builder setData(com.google.protobuf.Struct value)
       Required. The content of the aspect, according to its aspect type schema.
       The maximum size of the field is 120KB (encoded as UTF-8).
       
      .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED];
    • setData

      public Aspect.Builder setData(com.google.protobuf.Struct.Builder builderForValue)
       Required. The content of the aspect, according to its aspect type schema.
       The maximum size of the field is 120KB (encoded as UTF-8).
       
      .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED];
    • mergeData

      public Aspect.Builder mergeData(com.google.protobuf.Struct value)
       Required. The content of the aspect, according to its aspect type schema.
       The maximum size of the field is 120KB (encoded as UTF-8).
       
      .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED];
    • clearData

      public Aspect.Builder clearData()
       Required. The content of the aspect, according to its aspect type schema.
       The maximum size of the field is 120KB (encoded as UTF-8).
       
      .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED];
    • getDataBuilder

      public com.google.protobuf.Struct.Builder getDataBuilder()
       Required. The content of the aspect, according to its aspect type schema.
       The maximum size of the field is 120KB (encoded as UTF-8).
       
      .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED];
    • getDataOrBuilder

      public com.google.protobuf.StructOrBuilder getDataOrBuilder()
       Required. The content of the aspect, according to its aspect type schema.
       The maximum size of the field is 120KB (encoded as UTF-8).
       
      .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataOrBuilder in interface AspectOrBuilder
    • hasAspectSource

      public boolean hasAspectSource()
       Optional. Information related to the source system of the aspect.
       
      .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAspectSource in interface AspectOrBuilder
      Returns:
      Whether the aspectSource field is set.
    • getAspectSource

      public AspectSource getAspectSource()
       Optional. Information related to the source system of the aspect.
       
      .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAspectSource in interface AspectOrBuilder
      Returns:
      The aspectSource.
    • setAspectSource

      public Aspect.Builder setAspectSource(AspectSource value)
       Optional. Information related to the source system of the aspect.
       
      .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL];
    • setAspectSource

      public Aspect.Builder setAspectSource(AspectSource.Builder builderForValue)
       Optional. Information related to the source system of the aspect.
       
      .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL];
    • mergeAspectSource

      public Aspect.Builder mergeAspectSource(AspectSource value)
       Optional. Information related to the source system of the aspect.
       
      .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL];
    • clearAspectSource

      public Aspect.Builder clearAspectSource()
       Optional. Information related to the source system of the aspect.
       
      .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getAspectSourceBuilder

      public AspectSource.Builder getAspectSourceBuilder()
       Optional. Information related to the source system of the aspect.
       
      .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getAspectSourceOrBuilder

      public AspectSourceOrBuilder getAspectSourceOrBuilder()
       Optional. Information related to the source system of the aspect.
       
      .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAspectSourceOrBuilder in interface AspectOrBuilder