Class GcsOutputDestination.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GcsOutputDestination.Builder>
com.google.cloud.translate.v3.GcsOutputDestination.Builder
All Implemented Interfaces:
GcsOutputDestinationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GcsOutputDestination

public static final class GcsOutputDestination.Builder extends com.google.protobuf.GeneratedMessage.Builder<GcsOutputDestination.Builder> implements GcsOutputDestinationOrBuilder
 The Google Cloud Storage location for the output content.
 
Protobuf type google.cloud.translation.v3.GcsOutputDestination
  • 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<GcsOutputDestination.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<GcsOutputDestination.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<GcsOutputDestination.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public GcsOutputDestination.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<GcsOutputDestination.Builder>
      Throws:
      IOException
    • getOutputUriPrefix

      public String getOutputUriPrefix()
       Required. Google Cloud Storage URI to output directory. For example,
       `gs://bucket/directory`. The requesting user must have write permission to
       the bucket. The directory will be created if it doesn't exist.
       
      string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputUriPrefix in interface GcsOutputDestinationOrBuilder
      Returns:
      The outputUriPrefix.
    • getOutputUriPrefixBytes

      public com.google.protobuf.ByteString getOutputUriPrefixBytes()
       Required. Google Cloud Storage URI to output directory. For example,
       `gs://bucket/directory`. The requesting user must have write permission to
       the bucket. The directory will be created if it doesn't exist.
       
      string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputUriPrefixBytes in interface GcsOutputDestinationOrBuilder
      Returns:
      The bytes for outputUriPrefix.
    • setOutputUriPrefix

      public GcsOutputDestination.Builder setOutputUriPrefix(String value)
       Required. Google Cloud Storage URI to output directory. For example,
       `gs://bucket/directory`. The requesting user must have write permission to
       the bucket. The directory will be created if it doesn't exist.
       
      string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The outputUriPrefix to set.
      Returns:
      This builder for chaining.
    • clearOutputUriPrefix

      public GcsOutputDestination.Builder clearOutputUriPrefix()
       Required. Google Cloud Storage URI to output directory. For example,
       `gs://bucket/directory`. The requesting user must have write permission to
       the bucket. The directory will be created if it doesn't exist.
       
      string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setOutputUriPrefixBytes

      public GcsOutputDestination.Builder setOutputUriPrefixBytes(com.google.protobuf.ByteString value)
       Required. Google Cloud Storage URI to output directory. For example,
       `gs://bucket/directory`. The requesting user must have write permission to
       the bucket. The directory will be created if it doesn't exist.
       
      string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for outputUriPrefix to set.
      Returns:
      This builder for chaining.