Class BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder (2.83.0)

public static final class BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder extends GeneratedMessage.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

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder

Static Methods

getDescriptor()

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

Methods

build()

public BatchPredictOperationMetadata.BatchPredictOutputInfo build()
Returns
Type Description
BatchPredictOperationMetadata.BatchPredictOutputInfo

buildPartial()

public BatchPredictOperationMetadata.BatchPredictOutputInfo buildPartial()
Returns
Type Description
BatchPredictOperationMetadata.BatchPredictOutputInfo

clear()

public BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder clear()
Returns
Type Description
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
Type Description
BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder

This builder for chaining.

clearOutputLocation()

public BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder clearOutputLocation()
Returns
Type Description
BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder

getDefaultInstanceForType()

public BatchPredictOperationMetadata.BatchPredictOutputInfo getDefaultInstanceForType()
Returns
Type Description
BatchPredictOperationMetadata.BatchPredictOutputInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for gcsOutputDirectory.

getOutputLocationCase()

public BatchPredictOperationMetadata.BatchPredictOutputInfo.OutputLocationCase getOutputLocationCase()
Returns
Type Description
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
Type Description
boolean

Whether the gcsOutputDirectory field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchPredictOperationMetadata.BatchPredictOutputInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value String

The gcsOutputDirectory to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for gcsOutputDirectory to set.

Returns
Type Description
BatchPredictOperationMetadata.BatchPredictOutputInfo.Builder

This builder for chaining.