Class PublisherModel.Parent.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PublisherModel.Parent.Builder>
com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent.Builder
All Implemented Interfaces:
PublisherModel.ParentOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PublisherModel.Parent

public static final class PublisherModel.Parent.Builder extends com.google.protobuf.GeneratedMessage.Builder<PublisherModel.Parent.Builder> implements PublisherModel.ParentOrBuilder
 The information about the parent of a model.
 
Protobuf type google.cloud.aiplatform.v1beta1.PublisherModel.Parent
  • 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<PublisherModel.Parent.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<PublisherModel.Parent.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<PublisherModel.Parent.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public PublisherModel.Parent.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<PublisherModel.Parent.Builder>
      Throws:
      IOException
    • getDisplayName

      public String getDisplayName()
       Required. The display name of the parent. E.g., LaMDA, T5, Vision API,
       Natural Language API.
       
      string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface PublisherModel.ParentOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. The display name of the parent. E.g., LaMDA, T5, Vision API,
       Natural Language API.
       
      string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface PublisherModel.ParentOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public PublisherModel.Parent.Builder setDisplayName(String value)
       Required. The display name of the parent. E.g., LaMDA, T5, Vision API,
       Natural Language API.
       
      string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public PublisherModel.Parent.Builder clearDisplayName()
       Required. The display name of the parent. E.g., LaMDA, T5, Vision API,
       Natural Language API.
       
      string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public PublisherModel.Parent.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. The display name of the parent. E.g., LaMDA, T5, Vision API,
       Natural Language API.
       
      string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • hasReference

      public boolean hasReference()
       Optional. The Google Cloud resource name or the URI reference.
       
      .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasReference in interface PublisherModel.ParentOrBuilder
      Returns:
      Whether the reference field is set.
    • getReference

      public PublisherModel.ResourceReference getReference()
       Optional. The Google Cloud resource name or the URI reference.
       
      .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReference in interface PublisherModel.ParentOrBuilder
      Returns:
      The reference.
    • setReference

       Optional. The Google Cloud resource name or the URI reference.
       
      .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setReference

       Optional. The Google Cloud resource name or the URI reference.
       
      .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeReference

       Optional. The Google Cloud resource name or the URI reference.
       
      .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearReference

      public PublisherModel.Parent.Builder clearReference()
       Optional. The Google Cloud resource name or the URI reference.
       
      .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getReferenceBuilder

      public PublisherModel.ResourceReference.Builder getReferenceBuilder()
       Optional. The Google Cloud resource name or the URI reference.
       
      .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getReferenceOrBuilder

      public PublisherModel.ResourceReferenceOrBuilder getReferenceOrBuilder()
       Optional. The Google Cloud resource name or the URI reference.
       
      .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReferenceOrBuilder in interface PublisherModel.ParentOrBuilder