public static final class ExportOptions.Builder extends GeneratedMessage.Builder<ExportOptions.Builder> implements ExportOptionsOrBuilderOptions for exporting CES evaluation resources.
Protobuf type google.cloud.ces.v1beta.ExportOptions
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExportOptions.BuilderImplements
ExportOptionsOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExportOptions.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExportOptions.Builder |
|
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.ExportFormatThe 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 |
intThe 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 |
StringThe 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 |
ByteStringThe bytes for gcsUri to set. |
| Returns | |
|---|---|
| Type | Description |
ExportOptions.Builder |
This builder for chaining. |