Class OutputConfig.GcsDestination.Builder (2.41.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.v2.OutputConfig.GcsDestination

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OutputConfig.GcsDestination build()
Returns
TypeDescription
OutputConfig.GcsDestination

buildPartial()

public OutputConfig.GcsDestination buildPartial()
Returns
TypeDescription
OutputConfig.GcsDestination

clear()

public OutputConfig.GcsDestination.Builder clear()
Returns
TypeDescription
OutputConfig.GcsDestination.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public OutputConfig.GcsDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
OutputConfig.GcsDestination.Builder

This builder for chaining.

clone()

public OutputConfig.GcsDestination.Builder clone()
Returns
TypeDescription
OutputConfig.GcsDestination.Builder
Overrides

getDefaultInstanceForType()

public OutputConfig.GcsDestination getDefaultInstanceForType()
Returns
TypeDescription
OutputConfig.GcsDestination

getDescriptorForType()

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

The bytes for outputUriPrefix.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(OutputConfig.GcsDestination other)

public OutputConfig.GcsDestination.Builder mergeFrom(OutputConfig.GcsDestination other)
Parameter
NameDescription
otherOutputConfig.GcsDestination
Returns
TypeDescription
OutputConfig.GcsDestination.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public OutputConfig.GcsDestination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The outputUriPrefix to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for outputUriPrefix to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
OutputConfig.GcsDestination.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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