Class EntrySource.Ancestor.Builder

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

public static final class EntrySource.Ancestor.Builder extends com.google.protobuf.GeneratedMessage.Builder<EntrySource.Ancestor.Builder> implements EntrySource.AncestorOrBuilder
 Information about individual items in the hierarchy that is associated with
 the data resource.
 
Protobuf type google.cloud.dataplex.v1.EntrySource.Ancestor
  • 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<EntrySource.Ancestor.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<EntrySource.Ancestor.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<EntrySource.Ancestor.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public EntrySource.Ancestor.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<EntrySource.Ancestor.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Optional. The name of the ancestor resource.
       
      string name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getName in interface EntrySource.AncestorOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Optional. The name of the ancestor resource.
       
      string name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNameBytes in interface EntrySource.AncestorOrBuilder
      Returns:
      The bytes for name.
    • setName

      public EntrySource.Ancestor.Builder setName(String value)
       Optional. The name of the ancestor resource.
       
      string name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public EntrySource.Ancestor.Builder clearName()
       Optional. The name of the ancestor resource.
       
      string name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setNameBytes

      public EntrySource.Ancestor.Builder setNameBytes(com.google.protobuf.ByteString value)
       Optional. The name of the ancestor resource.
       
      string name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getType

      public String getType()
       Optional. The type of the ancestor resource.
       
      string type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getType in interface EntrySource.AncestorOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       Optional. The type of the ancestor resource.
       
      string type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTypeBytes in interface EntrySource.AncestorOrBuilder
      Returns:
      The bytes for type.
    • setType

      public EntrySource.Ancestor.Builder setType(String value)
       Optional. The type of the ancestor resource.
       
      string type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public EntrySource.Ancestor.Builder clearType()
       Optional. The type of the ancestor resource.
       
      string type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setTypeBytes

      public EntrySource.Ancestor.Builder setTypeBytes(com.google.protobuf.ByteString value)
       Optional. The type of the ancestor resource.
       
      string type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.