Class Examples.ExampleGcsSource.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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
      • setRepeatedField

        public Examples.ExampleGcsSource.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Examples.ExampleGcsSource.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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.
      • setDataFormat

        public Examples.ExampleGcsSource.Builder setDataFormat​(Examples.ExampleGcsSource.DataFormat 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 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.
      • 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;
      • setUnknownFields

        public final Examples.ExampleGcsSource.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Examples.ExampleGcsSource.Builder>
      • mergeUnknownFields

        public final Examples.ExampleGcsSource.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Examples.ExampleGcsSource.Builder>