Class Examples.ExampleGcsSource.Builder

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

public static final class Examples.ExampleGcsSource.Builder extends com.google.protobuf.GeneratedMessage.Builder<Examples.ExampleGcsSource.Builder> implements Examples.ExampleGcsSourceOrBuilder
 The Cloud Storage input instances.
 
Protobuf type google.cloud.aiplatform.v1.Examples.ExampleGcsSource
  • 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<Examples.ExampleGcsSource.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<Examples.ExampleGcsSource.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<Examples.ExampleGcsSource.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Examples.ExampleGcsSource.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<Examples.ExampleGcsSource.Builder>
      Throws:
      IOException
    • getDataFormatValue

      public int getDataFormatValue()
       The format in which instances are given, if not specified, assume it's
       JSONL format. Currently only JSONL format is supported.
       
      .google.cloud.aiplatform.v1.Examples.ExampleGcsSource.DataFormat data_format = 1;
      Specified by:
      getDataFormatValue in interface Examples.ExampleGcsSourceOrBuilder
      Returns:
      The enum numeric value on the wire for dataFormat.
    • setDataFormatValue

      public Examples.ExampleGcsSource.Builder setDataFormatValue(int value)
       The format in which instances are given, if not specified, assume it's
       JSONL format. Currently only JSONL format is supported.
       
      .google.cloud.aiplatform.v1.Examples.ExampleGcsSource.DataFormat data_format = 1;
      Parameters:
      value - The enum numeric value on the wire for dataFormat to set.
      Returns:
      This builder for chaining.
    • getDataFormat

      public Examples.ExampleGcsSource.DataFormat getDataFormat()
       The format in which instances are given, if not specified, assume it's
       JSONL format. Currently only JSONL format is supported.
       
      .google.cloud.aiplatform.v1.Examples.ExampleGcsSource.DataFormat data_format = 1;
      Specified by:
      getDataFormat in interface Examples.ExampleGcsSourceOrBuilder
      Returns:
      The dataFormat.
    • setDataFormat

       The format in which instances are given, if not specified, assume it's
       JSONL format. Currently only JSONL format is supported.
       
      .google.cloud.aiplatform.v1.Examples.ExampleGcsSource.DataFormat data_format = 1;
      Parameters:
      value - The dataFormat to set.
      Returns:
      This builder for chaining.
    • clearDataFormat

      public Examples.ExampleGcsSource.Builder clearDataFormat()
       The format in which instances are given, if not specified, assume it's
       JSONL format. Currently only JSONL format is supported.
       
      .google.cloud.aiplatform.v1.Examples.ExampleGcsSource.DataFormat data_format = 1;
      Returns:
      This builder for chaining.
    • hasGcsSource

      public boolean hasGcsSource()
       The Cloud Storage location for the input instances.
       
      .google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
      Specified by:
      hasGcsSource in interface Examples.ExampleGcsSourceOrBuilder
      Returns:
      Whether the gcsSource field is set.
    • getGcsSource

      public GcsSource getGcsSource()
       The Cloud Storage location for the input instances.
       
      .google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
      Specified by:
      getGcsSource in interface Examples.ExampleGcsSourceOrBuilder
      Returns:
      The gcsSource.
    • setGcsSource

      public Examples.ExampleGcsSource.Builder setGcsSource(GcsSource value)
       The Cloud Storage location for the input instances.
       
      .google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
    • setGcsSource

      public Examples.ExampleGcsSource.Builder setGcsSource(GcsSource.Builder builderForValue)
       The Cloud Storage location for the input instances.
       
      .google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
    • mergeGcsSource

      public Examples.ExampleGcsSource.Builder mergeGcsSource(GcsSource value)
       The Cloud Storage location for the input instances.
       
      .google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
    • clearGcsSource

      public Examples.ExampleGcsSource.Builder clearGcsSource()
       The Cloud Storage location for the input instances.
       
      .google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
    • getGcsSourceBuilder

      public GcsSource.Builder getGcsSourceBuilder()
       The Cloud Storage location for the input instances.
       
      .google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
    • getGcsSourceOrBuilder

      public GcsSourceOrBuilder getGcsSourceOrBuilder()
       The Cloud Storage location for the input instances.
       
      .google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
      Specified by:
      getGcsSourceOrBuilder in interface Examples.ExampleGcsSourceOrBuilder