Class GcsSources (4.23.0)

public final class GcsSources extends GeneratedMessageV3 implements GcsSourcesOrBuilder

Google Cloud Storage locations for the inputs.

Protobuf type google.cloud.dialogflow.v2beta1.GcsSources

Implements

GcsSourcesOrBuilder

Static Fields

URIS_FIELD_NUMBER

public static final int URIS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GcsSources getDefaultInstance()
Returns
Type Description
GcsSources

getDescriptor()

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

newBuilder()

public static GcsSources.Builder newBuilder()
Returns
Type Description
GcsSources.Builder

newBuilder(GcsSources prototype)

public static GcsSources.Builder newBuilder(GcsSources prototype)
Parameter
Name Description
prototype GcsSources
Returns
Type Description
GcsSources.Builder

parseDelimitedFrom(InputStream input)

public static GcsSources parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GcsSources
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GcsSources parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcsSources
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GcsSources parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GcsSources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GcsSources parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcsSources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GcsSources parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GcsSources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GcsSources parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcsSources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GcsSources parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GcsSources
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GcsSources parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcsSources
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GcsSources parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GcsSources
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GcsSources parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcsSources
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GcsSources parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GcsSources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GcsSources parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcsSources
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GcsSources> parser()
Returns
Type Description
Parser<GcsSources>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GcsSources getDefaultInstanceForType()
Returns
Type Description
GcsSources

getParserForType()

public Parser<GcsSources> getParserForType()
Returns
Type Description
Parser<GcsSources>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

getUris(int index)

public String getUris(int index)

Required. 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.

repeated string uris = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The uris at the given index.

getUrisBytes(int index)

public ByteString getUrisBytes(int index)

Required. 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.

repeated string uris = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the uris at the given index.

getUrisCount()

public int getUrisCount()

Required. 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.

repeated string uris = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of uris.

getUrisList()

public ProtocolStringList getUrisList()

Required. 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.

repeated string uris = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the uris.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GcsSources.Builder newBuilderForType()
Returns
Type Description
GcsSources.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GcsSources.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GcsSources.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GcsSources.Builder toBuilder()
Returns
Type Description
GcsSources.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException