public static final class ExportEvaluationsRequest.Builder extends GeneratedMessage.Builder<ExportEvaluationsRequest.Builder> implements ExportEvaluationsRequestOrBuilderRequest message for EvaluationService.ExportEvaluations.
Protobuf type google.cloud.ces.v1beta.ExportEvaluationsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExportEvaluationsRequest.BuilderImplements
ExportEvaluationsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllNames(Iterable<String> values)
public ExportEvaluationsRequest.Builder addAllNames(Iterable<String> values)Required. The resource names of the evaluations to export.
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The names to add. |
| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
This builder for chaining. |
addNames(String value)
public ExportEvaluationsRequest.Builder addNames(String value)Required. The resource names of the evaluations to export.
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe names to add. |
| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
This builder for chaining. |
addNamesBytes(ByteString value)
public ExportEvaluationsRequest.Builder addNamesBytes(ByteString value)Required. The resource names of the evaluations to export.
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the names to add. |
| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
This builder for chaining. |
build()
public ExportEvaluationsRequest build()| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest |
|
buildPartial()
public ExportEvaluationsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest |
|
clear()
public ExportEvaluationsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
|
clearExportOptions()
public ExportEvaluationsRequest.Builder clearExportOptions()Optional. The export options for the evaluations.
.google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
|
clearIncludeEvaluationResults()
public ExportEvaluationsRequest.Builder clearIncludeEvaluationResults()Optional. Includes evaluation results in the export. At least one of include_evaluation_results or include_evaluations must be set.
bool include_evaluation_results = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
This builder for chaining. |
clearIncludeEvaluations()
public ExportEvaluationsRequest.Builder clearIncludeEvaluations()Optional. Includes evaluations in the export. At least one of include_evaluation_results or include_evaluations must be set.
bool include_evaluations = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
This builder for chaining. |
clearNames()
public ExportEvaluationsRequest.Builder clearNames()Required. The resource names of the evaluations to export.
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
This builder for chaining. |
clearParent()
public ExportEvaluationsRequest.Builder clearParent() Required. The resource name of the app to export evaluations from.
Format: projects/{project}/locations/{location}/apps/{app}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ExportEvaluationsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExportOptions()
public ExportOptions getExportOptions()Optional. The export options for the evaluations.
.google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ExportOptions |
The exportOptions. |
getExportOptionsBuilder()
public ExportOptions.Builder getExportOptionsBuilder()Optional. The export options for the evaluations.
.google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ExportOptions.Builder |
|
getExportOptionsOrBuilder()
public ExportOptionsOrBuilder getExportOptionsOrBuilder()Optional. The export options for the evaluations.
.google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ExportOptionsOrBuilder |
|
getIncludeEvaluationResults()
public boolean getIncludeEvaluationResults()Optional. Includes evaluation results in the export. At least one of include_evaluation_results or include_evaluations must be set.
bool include_evaluation_results = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The includeEvaluationResults. |
getIncludeEvaluations()
public boolean getIncludeEvaluations()Optional. Includes evaluations in the export. At least one of include_evaluation_results or include_evaluations must be set.
bool include_evaluations = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The includeEvaluations. |
getNames(int index)
public String getNames(int index)Required. The resource names of the evaluations to export.
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The names at the given index. |
getNamesBytes(int index)
public ByteString getNamesBytes(int index)Required. The resource names of the evaluations to export.
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the names at the given index. |
getNamesCount()
public int getNamesCount()Required. The resource names of the evaluations to export.
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
int |
The count of names. |
getNamesList()
public ProtocolStringList getNamesList()Required. The resource names of the evaluations to export.
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the names. |
getParent()
public String getParent() Required. The resource name of the app to export evaluations from.
Format: projects/{project}/locations/{location}/apps/{app}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The resource name of the app to export evaluations from.
Format: projects/{project}/locations/{location}/apps/{app}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasExportOptions()
public boolean hasExportOptions()Optional. The export options for the evaluations.
.google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the exportOptions field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeExportOptions(ExportOptions value)
public ExportEvaluationsRequest.Builder mergeExportOptions(ExportOptions value)Optional. The export options for the evaluations.
.google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ExportOptions |
| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
|
mergeFrom(ExportEvaluationsRequest other)
public ExportEvaluationsRequest.Builder mergeFrom(ExportEvaluationsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ExportEvaluationsRequest |
| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExportEvaluationsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExportEvaluationsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
|
setExportOptions(ExportOptions value)
public ExportEvaluationsRequest.Builder setExportOptions(ExportOptions value)Optional. The export options for the evaluations.
.google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ExportOptions |
| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
|
setExportOptions(ExportOptions.Builder builderForValue)
public ExportEvaluationsRequest.Builder setExportOptions(ExportOptions.Builder builderForValue)Optional. The export options for the evaluations.
.google.cloud.ces.v1beta.ExportOptions export_options = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ExportOptions.Builder |
| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
|
setIncludeEvaluationResults(boolean value)
public ExportEvaluationsRequest.Builder setIncludeEvaluationResults(boolean value)Optional. Includes evaluation results in the export. At least one of include_evaluation_results or include_evaluations must be set.
bool include_evaluation_results = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe includeEvaluationResults to set. |
| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
This builder for chaining. |
setIncludeEvaluations(boolean value)
public ExportEvaluationsRequest.Builder setIncludeEvaluations(boolean value)Optional. Includes evaluations in the export. At least one of include_evaluation_results or include_evaluations must be set.
bool include_evaluations = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe includeEvaluations to set. |
| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
This builder for chaining. |
setNames(int index, String value)
public ExportEvaluationsRequest.Builder setNames(int index, String value)Required. The resource names of the evaluations to export.
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe names to set. |
| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ExportEvaluationsRequest.Builder setParent(String value) Required. The resource name of the app to export evaluations from.
Format: projects/{project}/locations/{location}/apps/{app}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ExportEvaluationsRequest.Builder setParentBytes(ByteString value) Required. The resource name of the app to export evaluations from.
Format: projects/{project}/locations/{location}/apps/{app}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ExportEvaluationsRequest.Builder |
This builder for chaining. |