Class GcsSource.Builder (4.89.0)

public static final class GcsSource.Builder extends GeneratedMessage.Builder<GcsSource.Builder> implements GcsSourceOrBuilder

Google Cloud Storage location for single input.

Protobuf type google.cloud.dialogflow.v2beta1.GcsSource

Implements

GcsSourceOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public GcsSource build()
Returns
Type Description
GcsSource

buildPartial()

public GcsSource buildPartial()
Returns
Type Description
GcsSource

clear()

public GcsSource.Builder clear()
Returns
Type Description
GcsSource.Builder
Overrides

clearUri()

public GcsSource.Builder clearUri()

Required. The Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case.

string uri = 1;

Returns
Type Description
GcsSource.Builder

This builder for chaining.

getDefaultInstanceForType()

public GcsSource getDefaultInstanceForType()
Returns
Type Description
GcsSource

getDescriptorForType()

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

getUri()

public String getUri()

Required. The Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case.

string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Required. The Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case.

string uri = 1;

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GcsSource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setUri(String value)

public GcsSource.Builder setUri(String value)

Required. The Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case.

string uri = 1;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
GcsSource.Builder

This builder for chaining.

setUriBytes(ByteString value)

public GcsSource.Builder setUriBytes(ByteString value)

Required. The Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case.

string uri = 1;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
GcsSource.Builder

This builder for chaining.