Class ExportErrorsConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExportErrorsConfig.Builder>
com.google.cloud.retail.v2alpha.ExportErrorsConfig.Builder
All Implemented Interfaces:
ExportErrorsConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ExportErrorsConfig

public static final class ExportErrorsConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExportErrorsConfig.Builder> implements ExportErrorsConfigOrBuilder
 Configuration of destination for Export related errors.
 
Protobuf type google.cloud.retail.v2alpha.ExportErrorsConfig
  • 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<ExportErrorsConfig.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<ExportErrorsConfig.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<ExportErrorsConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ExportErrorsConfig.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<ExportErrorsConfig.Builder>
      Throws:
      IOException
    • getDestinationCase

      public ExportErrorsConfig.DestinationCase getDestinationCase()
      Specified by:
      getDestinationCase in interface ExportErrorsConfigOrBuilder
    • clearDestination

      public ExportErrorsConfig.Builder clearDestination()
    • hasGcsPrefix

      public boolean hasGcsPrefix()
       Google Cloud Storage path for import errors. This must be an empty,
       existing Cloud Storage bucket. Export errors will be written to a file in
       this bucket, one per line, as a JSON-encoded
       `google.rpc.Status` message.
       
      string gcs_prefix = 1;
      Specified by:
      hasGcsPrefix in interface ExportErrorsConfigOrBuilder
      Returns:
      Whether the gcsPrefix field is set.
    • getGcsPrefix

      public String getGcsPrefix()
       Google Cloud Storage path for import errors. This must be an empty,
       existing Cloud Storage bucket. Export errors will be written to a file in
       this bucket, one per line, as a JSON-encoded
       `google.rpc.Status` message.
       
      string gcs_prefix = 1;
      Specified by:
      getGcsPrefix in interface ExportErrorsConfigOrBuilder
      Returns:
      The gcsPrefix.
    • getGcsPrefixBytes

      public com.google.protobuf.ByteString getGcsPrefixBytes()
       Google Cloud Storage path for import errors. This must be an empty,
       existing Cloud Storage bucket. Export errors will be written to a file in
       this bucket, one per line, as a JSON-encoded
       `google.rpc.Status` message.
       
      string gcs_prefix = 1;
      Specified by:
      getGcsPrefixBytes in interface ExportErrorsConfigOrBuilder
      Returns:
      The bytes for gcsPrefix.
    • setGcsPrefix

      public ExportErrorsConfig.Builder setGcsPrefix(String value)
       Google Cloud Storage path for import errors. This must be an empty,
       existing Cloud Storage bucket. Export errors will be written to a file in
       this bucket, one per line, as a JSON-encoded
       `google.rpc.Status` message.
       
      string gcs_prefix = 1;
      Parameters:
      value - The gcsPrefix to set.
      Returns:
      This builder for chaining.
    • clearGcsPrefix

      public ExportErrorsConfig.Builder clearGcsPrefix()
       Google Cloud Storage path for import errors. This must be an empty,
       existing Cloud Storage bucket. Export errors will be written to a file in
       this bucket, one per line, as a JSON-encoded
       `google.rpc.Status` message.
       
      string gcs_prefix = 1;
      Returns:
      This builder for chaining.
    • setGcsPrefixBytes

      public ExportErrorsConfig.Builder setGcsPrefixBytes(com.google.protobuf.ByteString value)
       Google Cloud Storage path for import errors. This must be an empty,
       existing Cloud Storage bucket. Export errors will be written to a file in
       this bucket, one per line, as a JSON-encoded
       `google.rpc.Status` message.
       
      string gcs_prefix = 1;
      Parameters:
      value - The bytes for gcsPrefix to set.
      Returns:
      This builder for chaining.