Class OutputConfig.GcsDestination.Builder (2.53.0)

public static final class OutputConfig.GcsDestination.Builder extends GeneratedMessageV3.Builder<OutputConfig.GcsDestination.Builder> implements OutputConfig.GcsDestinationOrBuilder

The Google Cloud Storage output destination configuration.

Protobuf type google.cloud.retail.v2beta.OutputConfig.GcsDestination

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OutputConfig.GcsDestination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OutputConfig.GcsDestination.Builder
Overrides

build()

public OutputConfig.GcsDestination build()
Returns
Type Description
OutputConfig.GcsDestination

buildPartial()

public OutputConfig.GcsDestination buildPartial()
Returns
Type Description
OutputConfig.GcsDestination

clear()

public OutputConfig.GcsDestination.Builder clear()
Returns
Type Description
OutputConfig.GcsDestination.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public OutputConfig.GcsDestination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OutputConfig.GcsDestination.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public OutputConfig.GcsDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OutputConfig.GcsDestination.Builder
Overrides

clearOutputUriPrefix()

public OutputConfig.GcsDestination.Builder clearOutputUriPrefix()

Required. The output uri prefix for saving output data to json files. Some mapping examples are as follows: output_uri_prefix sample output(assuming the object is foo.json) =

====================== gs://bucket/ gs://bucket/foo.json gs://bucket/folder/ gs://bucket/folder/foo.json gs://bucket/folder/item_ gs://bucket/folder/item_foo.json

string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OutputConfig.GcsDestination.Builder

This builder for chaining.

clone()

public OutputConfig.GcsDestination.Builder clone()
Returns
Type Description
OutputConfig.GcsDestination.Builder
Overrides

getDefaultInstanceForType()

public OutputConfig.GcsDestination getDefaultInstanceForType()
Returns
Type Description
OutputConfig.GcsDestination

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOutputUriPrefix()

public String getOutputUriPrefix()

Required. The output uri prefix for saving output data to json files. Some mapping examples are as follows: output_uri_prefix sample output(assuming the object is foo.json) =

====================== gs://bucket/ gs://bucket/foo.json gs://bucket/folder/ gs://bucket/folder/foo.json gs://bucket/folder/item_ gs://bucket/folder/item_foo.json

string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The outputUriPrefix.

getOutputUriPrefixBytes()

public ByteString getOutputUriPrefixBytes()

Required. The output uri prefix for saving output data to json files. Some mapping examples are as follows: output_uri_prefix sample output(assuming the object is foo.json) =

====================== gs://bucket/ gs://bucket/foo.json gs://bucket/folder/ gs://bucket/folder/foo.json gs://bucket/folder/item_ gs://bucket/folder/item_foo.json

string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for outputUriPrefix.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OutputConfig.GcsDestination other)

public OutputConfig.GcsDestination.Builder mergeFrom(OutputConfig.GcsDestination other)
Parameter
Name Description
other OutputConfig.GcsDestination
Returns
Type Description
OutputConfig.GcsDestination.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public OutputConfig.GcsDestination.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OutputConfig.GcsDestination.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OutputConfig.GcsDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OutputConfig.GcsDestination.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public OutputConfig.GcsDestination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OutputConfig.GcsDestination.Builder
Overrides

setOutputUriPrefix(String value)

public OutputConfig.GcsDestination.Builder setOutputUriPrefix(String value)

Required. The output uri prefix for saving output data to json files. Some mapping examples are as follows: output_uri_prefix sample output(assuming the object is foo.json) =

====================== gs://bucket/ gs://bucket/foo.json gs://bucket/folder/ gs://bucket/folder/foo.json gs://bucket/folder/item_ gs://bucket/folder/item_foo.json

string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The outputUriPrefix to set.

Returns
Type Description
OutputConfig.GcsDestination.Builder

This builder for chaining.

setOutputUriPrefixBytes(ByteString value)

public OutputConfig.GcsDestination.Builder setOutputUriPrefixBytes(ByteString value)

Required. The output uri prefix for saving output data to json files. Some mapping examples are as follows: output_uri_prefix sample output(assuming the object is foo.json) =

====================== gs://bucket/ gs://bucket/foo.json gs://bucket/folder/ gs://bucket/folder/foo.json gs://bucket/folder/item_ gs://bucket/folder/item_foo.json

string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for outputUriPrefix to set.

Returns
Type Description
OutputConfig.GcsDestination.Builder

This builder for chaining.

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

public OutputConfig.GcsDestination.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OutputConfig.GcsDestination.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final OutputConfig.GcsDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OutputConfig.GcsDestination.Builder
Overrides