Class EntryLink.EntryReference.Builder

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

public static final class EntryLink.EntryReference.Builder extends com.google.protobuf.GeneratedMessage.Builder<EntryLink.EntryReference.Builder> implements EntryLink.EntryReferenceOrBuilder
 Reference to the Entry that is linked through the Entry Link.
 
Protobuf type google.cloud.dataplex.v1.EntryLink.EntryReference
  • 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<EntryLink.EntryReference.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<EntryLink.EntryReference.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<EntryLink.EntryReference.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getName()
       Required. Immutable. The relative resource name of the referenced Entry,
       of the form:
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getName in interface EntryLink.EntryReferenceOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. Immutable. The relative resource name of the referenced Entry,
       of the form:
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getNameBytes in interface EntryLink.EntryReferenceOrBuilder
      Returns:
      The bytes for name.
    • setName

      public EntryLink.EntryReference.Builder setName(String value)
       Required. Immutable. The relative resource name of the referenced Entry,
       of the form:
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Required. Immutable. The relative resource name of the referenced Entry,
       of the form:
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setNameBytes

      public EntryLink.EntryReference.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. Immutable. The relative resource name of the referenced Entry,
       of the form:
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getPath

      public String getPath()
       Immutable. The path in the Entry that is referenced in the Entry Link.
       Empty path denotes that the Entry itself is referenced in the Entry
       Link.
       
      string path = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getPath in interface EntryLink.EntryReferenceOrBuilder
      Returns:
      The path.
    • getPathBytes

      public com.google.protobuf.ByteString getPathBytes()
       Immutable. The path in the Entry that is referenced in the Entry Link.
       Empty path denotes that the Entry itself is referenced in the Entry
       Link.
       
      string path = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getPathBytes in interface EntryLink.EntryReferenceOrBuilder
      Returns:
      The bytes for path.
    • setPath

      public EntryLink.EntryReference.Builder setPath(String value)
       Immutable. The path in the Entry that is referenced in the Entry Link.
       Empty path denotes that the Entry itself is referenced in the Entry
       Link.
       
      string path = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The path to set.
      Returns:
      This builder for chaining.
    • clearPath

       Immutable. The path in the Entry that is referenced in the Entry Link.
       Empty path denotes that the Entry itself is referenced in the Entry
       Link.
       
      string path = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setPathBytes

      public EntryLink.EntryReference.Builder setPathBytes(com.google.protobuf.ByteString value)
       Immutable. The path in the Entry that is referenced in the Entry Link.
       Empty path denotes that the Entry itself is referenced in the Entry
       Link.
       
      string path = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for path to set.
      Returns:
      This builder for chaining.
    • getTypeValue

      public int getTypeValue()
       Required. Immutable. The reference type of the Entry.
       
      .google.cloud.dataplex.v1.EntryLink.EntryReference.Type type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getTypeValue in interface EntryLink.EntryReferenceOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public EntryLink.EntryReference.Builder setTypeValue(int value)
       Required. Immutable. The reference type of the Entry.
       
      .google.cloud.dataplex.v1.EntryLink.EntryReference.Type type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

       Required. Immutable. The reference type of the Entry.
       
      .google.cloud.dataplex.v1.EntryLink.EntryReference.Type type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getType in interface EntryLink.EntryReferenceOrBuilder
      Returns:
      The type.
    • setType

       Required. Immutable. The reference type of the Entry.
       
      .google.cloud.dataplex.v1.EntryLink.EntryReference.Type type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

       Required. Immutable. The reference type of the Entry.
       
      .google.cloud.dataplex.v1.EntryLink.EntryReference.Type type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.