Class BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder (2.21.0)

public static final class BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder extends GeneratedMessageV3.Builder<BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder> implements BatchPredictOperationMetadata.BatchPredictOutputInfoOrBuilder

Further describes this batch predict's output. Supplements BatchPredictOutputConfig.

Protobuf type google.cloud.automl.v1.BatchPredictOperationMetadata.BatchPredictOutputInfo

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchPredictOperationMetadata.BatchPredictOutputInfo build()
Returns
TypeDescription
BatchPredictOperationMetadata.BatchPredictOutputInfo

buildPartial()

public BatchPredictOperationMetadata.BatchPredictOutputInfo buildPartial()
Returns
TypeDescription
BatchPredictOperationMetadata.BatchPredictOutputInfo

clear()

public BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder clear()
Returns
TypeDescription
BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearGcsOutputDirectory()

public BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder clearGcsOutputDirectory()

The full path of the Google Cloud Storage directory created, into which the prediction output is written.

string gcs_output_directory = 1;

Returns
TypeDescription
BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutputLocation()

public BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder clearOutputLocation()
Returns
TypeDescription
BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder

clone()

public BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder clone()
Returns
TypeDescription
BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder
Overrides

getDefaultInstanceForType()

public BatchPredictOperationMetadata.BatchPredictOutputInfo getDefaultInstanceForType()
Returns
TypeDescription
BatchPredictOperationMetadata.BatchPredictOutputInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGcsOutputDirectory()

public String getGcsOutputDirectory()

The full path of the Google Cloud Storage directory created, into which the prediction output is written.

string gcs_output_directory = 1;

Returns
TypeDescription
String

The gcsOutputDirectory.

getGcsOutputDirectoryBytes()

public ByteString getGcsOutputDirectoryBytes()

The full path of the Google Cloud Storage directory created, into which the prediction output is written.

string gcs_output_directory = 1;

Returns
TypeDescription
ByteString

The bytes for gcsOutputDirectory.

getOutputLocationCase()

public BatchPredictOperationMetadata.BatchPredictOutputInfo.OutputLocationCase getOutputLocationCase()
Returns
TypeDescription
BatchPredictOperationMetadata.BatchPredictOutputInfo.OutputLocationCase

hasGcsOutputDirectory()

public boolean hasGcsOutputDirectory()

The full path of the Google Cloud Storage directory created, into which the prediction output is written.

string gcs_output_directory = 1;

Returns
TypeDescription
boolean

Whether the gcsOutputDirectory field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchPredictOperationMetadata.BatchPredictOutputInfo other)

public BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder mergeFrom(BatchPredictOperationMetadata.BatchPredictOutputInfo other)
Parameter
NameDescription
otherBatchPredictOperationMetadata.BatchPredictOutputInfo
Returns
TypeDescription
BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsOutputDirectory(String value)

public BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder setGcsOutputDirectory(String value)

The full path of the Google Cloud Storage directory created, into which the prediction output is written.

string gcs_output_directory = 1;

Parameter
NameDescription
valueString

The gcsOutputDirectory to set.

Returns
TypeDescription
BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder

This builder for chaining.

setGcsOutputDirectoryBytes(ByteString value)

public BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder setGcsOutputDirectoryBytes(ByteString value)

The full path of the Google Cloud Storage directory created, into which the prediction output is written.

string gcs_output_directory = 1;

Parameter
NameDescription
valueByteString

The bytes for gcsOutputDirectory to set.

Returns
TypeDescription
BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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