Class GcsDestination.Builder

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

public static final class GcsDestination.Builder extends com.google.protobuf.GeneratedMessage.Builder<GcsDestination.Builder> implements GcsDestinationOrBuilder
 Export destination of the data.Only gcs path is allowed in
 output_uri.
 
Protobuf type google.cloud.datalabeling.v1beta1.GcsDestination
  • 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<GcsDestination.Builder>
    • clear

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

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

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

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

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

      public GcsDestination.Builder mergeFrom(GcsDestination other)
    • isInitialized

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

      public GcsDestination.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<GcsDestination.Builder>
      Throws:
      IOException
    • getOutputUri

      public String getOutputUri()
       Required. The output uri of destination file.
       
      string output_uri = 1;
      Specified by:
      getOutputUri in interface GcsDestinationOrBuilder
      Returns:
      The outputUri.
    • getOutputUriBytes

      public com.google.protobuf.ByteString getOutputUriBytes()
       Required. The output uri of destination file.
       
      string output_uri = 1;
      Specified by:
      getOutputUriBytes in interface GcsDestinationOrBuilder
      Returns:
      The bytes for outputUri.
    • setOutputUri

      public GcsDestination.Builder setOutputUri(String value)
       Required. The output uri of destination file.
       
      string output_uri = 1;
      Parameters:
      value - The outputUri to set.
      Returns:
      This builder for chaining.
    • clearOutputUri

      public GcsDestination.Builder clearOutputUri()
       Required. The output uri of destination file.
       
      string output_uri = 1;
      Returns:
      This builder for chaining.
    • setOutputUriBytes

      public GcsDestination.Builder setOutputUriBytes(com.google.protobuf.ByteString value)
       Required. The output uri of destination file.
       
      string output_uri = 1;
      Parameters:
      value - The bytes for outputUri to set.
      Returns:
      This builder for chaining.
    • getMimeType

      public String getMimeType()
       Required. The format of the gcs destination. Only "text/csv" and
       "application/json"
       are supported.
       
      string mime_type = 2;
      Specified by:
      getMimeType in interface GcsDestinationOrBuilder
      Returns:
      The mimeType.
    • getMimeTypeBytes

      public com.google.protobuf.ByteString getMimeTypeBytes()
       Required. The format of the gcs destination. Only "text/csv" and
       "application/json"
       are supported.
       
      string mime_type = 2;
      Specified by:
      getMimeTypeBytes in interface GcsDestinationOrBuilder
      Returns:
      The bytes for mimeType.
    • setMimeType

      public GcsDestination.Builder setMimeType(String value)
       Required. The format of the gcs destination. Only "text/csv" and
       "application/json"
       are supported.
       
      string mime_type = 2;
      Parameters:
      value - The mimeType to set.
      Returns:
      This builder for chaining.
    • clearMimeType

      public GcsDestination.Builder clearMimeType()
       Required. The format of the gcs destination. Only "text/csv" and
       "application/json"
       are supported.
       
      string mime_type = 2;
      Returns:
      This builder for chaining.
    • setMimeTypeBytes

      public GcsDestination.Builder setMimeTypeBytes(com.google.protobuf.ByteString value)
       Required. The format of the gcs destination. Only "text/csv" and
       "application/json"
       are supported.
       
      string mime_type = 2;
      Parameters:
      value - The bytes for mimeType to set.
      Returns:
      This builder for chaining.