Class ExportEvaluatedExamplesRequest.Builder (2.4.0)

public static final class ExportEvaluatedExamplesRequest.Builder extends GeneratedMessageV3.Builder<ExportEvaluatedExamplesRequest.Builder> implements ExportEvaluatedExamplesRequestOrBuilder

Request message for AutoMl.ExportEvaluatedExamples.

Protobuf type google.cloud.automl.v1beta1.ExportEvaluatedExamplesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportEvaluatedExamplesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExportEvaluatedExamplesRequest.Builder
Overrides

build()

public ExportEvaluatedExamplesRequest build()
Returns
TypeDescription
ExportEvaluatedExamplesRequest

buildPartial()

public ExportEvaluatedExamplesRequest buildPartial()
Returns
TypeDescription
ExportEvaluatedExamplesRequest

clear()

public ExportEvaluatedExamplesRequest.Builder clear()
Returns
TypeDescription
ExportEvaluatedExamplesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ExportEvaluatedExamplesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExportEvaluatedExamplesRequest.Builder
Overrides

clearName()

public ExportEvaluatedExamplesRequest.Builder clearName()

Required. The resource name of the model whose evaluated examples are to be exported.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ExportEvaluatedExamplesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportEvaluatedExamplesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ExportEvaluatedExamplesRequest.Builder
Overrides

clearOutputConfig()

public ExportEvaluatedExamplesRequest.Builder clearOutputConfig()

Required. The desired output location and configuration.

.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ExportEvaluatedExamplesRequest.Builder

clone()

public ExportEvaluatedExamplesRequest.Builder clone()
Returns
TypeDescription
ExportEvaluatedExamplesRequest.Builder
Overrides

getDefaultInstanceForType()

public ExportEvaluatedExamplesRequest getDefaultInstanceForType()
Returns
TypeDescription
ExportEvaluatedExamplesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the model whose evaluated examples are to be exported.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the model whose evaluated examples are to be exported.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getOutputConfig()

public ExportEvaluatedExamplesOutputConfig getOutputConfig()

Required. The desired output location and configuration.

.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig

The outputConfig.

getOutputConfigBuilder()

public ExportEvaluatedExamplesOutputConfig.Builder getOutputConfigBuilder()

Required. The desired output location and configuration.

.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig.Builder

getOutputConfigOrBuilder()

public ExportEvaluatedExamplesOutputConfigOrBuilder getOutputConfigOrBuilder()

Required. The desired output location and configuration.

.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ExportEvaluatedExamplesOutputConfigOrBuilder

hasOutputConfig()

public boolean hasOutputConfig()

Required. The desired output location and configuration.

.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the outputConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExportEvaluatedExamplesRequest other)

public ExportEvaluatedExamplesRequest.Builder mergeFrom(ExportEvaluatedExamplesRequest other)
Parameter
NameDescription
otherExportEvaluatedExamplesRequest
Returns
TypeDescription
ExportEvaluatedExamplesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportEvaluatedExamplesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportEvaluatedExamplesRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExportEvaluatedExamplesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExportEvaluatedExamplesRequest.Builder
Overrides

mergeOutputConfig(ExportEvaluatedExamplesOutputConfig value)

public ExportEvaluatedExamplesRequest.Builder mergeOutputConfig(ExportEvaluatedExamplesOutputConfig value)

Required. The desired output location and configuration.

.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueExportEvaluatedExamplesOutputConfig
Returns
TypeDescription
ExportEvaluatedExamplesRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportEvaluatedExamplesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportEvaluatedExamplesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ExportEvaluatedExamplesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExportEvaluatedExamplesRequest.Builder
Overrides

setName(String value)

public ExportEvaluatedExamplesRequest.Builder setName(String value)

Required. The resource name of the model whose evaluated examples are to be exported.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ExportEvaluatedExamplesRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ExportEvaluatedExamplesRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the model whose evaluated examples are to be exported.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
ExportEvaluatedExamplesRequest.Builder

This builder for chaining.

setOutputConfig(ExportEvaluatedExamplesOutputConfig value)

public ExportEvaluatedExamplesRequest.Builder setOutputConfig(ExportEvaluatedExamplesOutputConfig value)

Required. The desired output location and configuration.

.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueExportEvaluatedExamplesOutputConfig
Returns
TypeDescription
ExportEvaluatedExamplesRequest.Builder

setOutputConfig(ExportEvaluatedExamplesOutputConfig.Builder builderForValue)

public ExportEvaluatedExamplesRequest.Builder setOutputConfig(ExportEvaluatedExamplesOutputConfig.Builder builderForValue)

Required. The desired output location and configuration.

.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueExportEvaluatedExamplesOutputConfig.Builder
Returns
TypeDescription
ExportEvaluatedExamplesRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExportEvaluatedExamplesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExportEvaluatedExamplesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportEvaluatedExamplesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportEvaluatedExamplesRequest.Builder
Overrides