Class GcsSource.Builder

  • All Implemented Interfaces:
    GcsSourceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    GcsSource

    public static final class GcsSource.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<GcsSource.Builder>
    implements GcsSourceOrBuilder
     The details about the data source when it is in Google Cloud Storage.
     
    Protobuf type google.maps.mapsplatformdatasets.v1alpha.GcsSource
    • 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<GcsSource.Builder>
      • clear

        public GcsSource.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.GeneratedMessageV3.Builder<GcsSource.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<GcsSource.Builder>
      • getDefaultInstanceForType

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

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

        public GcsSource buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public GcsSource.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<GcsSource.Builder>
      • setField

        public GcsSource.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                          Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<GcsSource.Builder>
      • clearField

        public GcsSource.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GcsSource.Builder>
      • clearOneof

        public GcsSource.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GcsSource.Builder>
      • setRepeatedField

        public GcsSource.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<GcsSource.Builder>
      • addRepeatedField

        public GcsSource.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GcsSource.Builder>
      • mergeFrom

        public GcsSource.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<GcsSource.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GcsSource.Builder>
      • mergeFrom

        public GcsSource.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<GcsSource.Builder>
        Throws:
        IOException
      • getInputUri

        public String getInputUri()
         Source data URI. For example, `gs://my_bucket/my_object`.
         
        string input_uri = 1;
        Specified by:
        getInputUri in interface GcsSourceOrBuilder
        Returns:
        The inputUri.
      • getInputUriBytes

        public com.google.protobuf.ByteString getInputUriBytes()
         Source data URI. For example, `gs://my_bucket/my_object`.
         
        string input_uri = 1;
        Specified by:
        getInputUriBytes in interface GcsSourceOrBuilder
        Returns:
        The bytes for inputUri.
      • setInputUri

        public GcsSource.Builder setInputUri​(String value)
         Source data URI. For example, `gs://my_bucket/my_object`.
         
        string input_uri = 1;
        Parameters:
        value - The inputUri to set.
        Returns:
        This builder for chaining.
      • clearInputUri

        public GcsSource.Builder clearInputUri()
         Source data URI. For example, `gs://my_bucket/my_object`.
         
        string input_uri = 1;
        Returns:
        This builder for chaining.
      • setInputUriBytes

        public GcsSource.Builder setInputUriBytes​(com.google.protobuf.ByteString value)
         Source data URI. For example, `gs://my_bucket/my_object`.
         
        string input_uri = 1;
        Parameters:
        value - The bytes for inputUri to set.
        Returns:
        This builder for chaining.
      • getFileFormatValue

        public int getFileFormatValue()
         The file format of the Google Cloud Storage object. This is used mainly for
         validation.
         
        .google.maps.mapsplatformdatasets.v1alpha.FileFormat file_format = 2;
        Specified by:
        getFileFormatValue in interface GcsSourceOrBuilder
        Returns:
        The enum numeric value on the wire for fileFormat.
      • setFileFormatValue

        public GcsSource.Builder setFileFormatValue​(int value)
         The file format of the Google Cloud Storage object. This is used mainly for
         validation.
         
        .google.maps.mapsplatformdatasets.v1alpha.FileFormat file_format = 2;
        Parameters:
        value - The enum numeric value on the wire for fileFormat to set.
        Returns:
        This builder for chaining.
      • getFileFormat

        public FileFormat getFileFormat()
         The file format of the Google Cloud Storage object. This is used mainly for
         validation.
         
        .google.maps.mapsplatformdatasets.v1alpha.FileFormat file_format = 2;
        Specified by:
        getFileFormat in interface GcsSourceOrBuilder
        Returns:
        The fileFormat.
      • setFileFormat

        public GcsSource.Builder setFileFormat​(FileFormat value)
         The file format of the Google Cloud Storage object. This is used mainly for
         validation.
         
        .google.maps.mapsplatformdatasets.v1alpha.FileFormat file_format = 2;
        Parameters:
        value - The fileFormat to set.
        Returns:
        This builder for chaining.
      • clearFileFormat

        public GcsSource.Builder clearFileFormat()
         The file format of the Google Cloud Storage object. This is used mainly for
         validation.
         
        .google.maps.mapsplatformdatasets.v1alpha.FileFormat file_format = 2;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final GcsSource.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<GcsSource.Builder>
      • mergeUnknownFields

        public final GcsSource.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<GcsSource.Builder>