public final class GcsSources extends GeneratedMessageV3 implements GcsSourcesOrBuilder
Google Cloud Storage location for the inputs.
Protobuf type google.cloud.dialogflow.v2.GcsSources
Static Fields
URIS_FIELD_NUMBER
public static final int URIS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static GcsSources getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static GcsSources.Builder newBuilder()
Returns
newBuilder(GcsSources prototype)
public static GcsSources.Builder newBuilder(GcsSources prototype)
Parameter
Returns
public static GcsSources parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GcsSources parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GcsSources parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GcsSources parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GcsSources parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GcsSources parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GcsSources parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GcsSources parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GcsSources parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GcsSources parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GcsSources parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GcsSources parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GcsSources> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public GcsSources getDefaultInstanceForType()
Returns
getParserForType()
public Parser<GcsSources> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public GcsSources.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GcsSources.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public GcsSources.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions