Class ExportOptions.Builder (0.9.0)

public static final class ExportOptions.Builder extends GeneratedMessage.Builder<ExportOptions.Builder> implements ExportOptionsOrBuilder

Options for exporting CES evaluation resources.

Protobuf type google.cloud.ces.v1beta.ExportOptions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ExportOptions build()
Returns
Type Description
ExportOptions

buildPartial()

public ExportOptions buildPartial()
Returns
Type Description
ExportOptions

clear()

public ExportOptions.Builder clear()
Returns
Type Description
ExportOptions.Builder
Overrides

clearExportFormat()

public ExportOptions.Builder clearExportFormat()

Optional. The format to export the evaluation results in. Defaults to JSON if not specified.

.google.cloud.ces.v1beta.ExportOptions.ExportFormat export_format = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportOptions.Builder

This builder for chaining.

clearGcsUri()

public ExportOptions.Builder clearGcsUri()

Optional. The Google Cloud Storage URI to write the exported Evaluation Results to.

string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportOptions.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExportOptions getDefaultInstanceForType()
Returns
Type Description
ExportOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExportFormat()

public ExportOptions.ExportFormat getExportFormat()

Optional. The format to export the evaluation results in. Defaults to JSON if not specified.

.google.cloud.ces.v1beta.ExportOptions.ExportFormat export_format = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportOptions.ExportFormat

The exportFormat.

getExportFormatValue()

public int getExportFormatValue()

Optional. The format to export the evaluation results in. Defaults to JSON if not specified.

.google.cloud.ces.v1beta.ExportOptions.ExportFormat export_format = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for exportFormat.

getGcsUri()

public String getGcsUri()

Optional. The Google Cloud Storage URI to write the exported Evaluation Results to.

string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The gcsUri.

getGcsUriBytes()

public ByteString getGcsUriBytes()

Optional. The Google Cloud Storage URI to write the exported Evaluation Results to.

string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for gcsUri.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportOptions other)

public ExportOptions.Builder mergeFrom(ExportOptions other)
Parameter
Name Description
other ExportOptions
Returns
Type Description
ExportOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExportOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExportOptions.Builder
Overrides

setExportFormat(ExportOptions.ExportFormat value)

public ExportOptions.Builder setExportFormat(ExportOptions.ExportFormat value)

Optional. The format to export the evaluation results in. Defaults to JSON if not specified.

.google.cloud.ces.v1beta.ExportOptions.ExportFormat export_format = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ExportOptions.ExportFormat

The exportFormat to set.

Returns
Type Description
ExportOptions.Builder

This builder for chaining.

setExportFormatValue(int value)

public ExportOptions.Builder setExportFormatValue(int value)

Optional. The format to export the evaluation results in. Defaults to JSON if not specified.

.google.cloud.ces.v1beta.ExportOptions.ExportFormat export_format = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for exportFormat to set.

Returns
Type Description
ExportOptions.Builder

This builder for chaining.

setGcsUri(String value)

public ExportOptions.Builder setGcsUri(String value)

Optional. The Google Cloud Storage URI to write the exported Evaluation Results to.

string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The gcsUri to set.

Returns
Type Description
ExportOptions.Builder

This builder for chaining.

setGcsUriBytes(ByteString value)

public ExportOptions.Builder setGcsUriBytes(ByteString value)

Optional. The Google Cloud Storage URI to write the exported Evaluation Results to.

string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for gcsUri to set.

Returns
Type Description
ExportOptions.Builder

This builder for chaining.