Class AssetSource.AssetGcsSource.Builder (0.10.0)

public static final class AssetSource.AssetGcsSource.Builder extends GeneratedMessageV3.Builder<AssetSource.AssetGcsSource.Builder> implements AssetSource.AssetGcsSourceOrBuilder

The asset source is from Cloud Storage.

Protobuf type google.cloud.visionai.v1.AssetSource.AssetGcsSource

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AssetSource.AssetGcsSource build()
Returns
Type Description
AssetSource.AssetGcsSource

buildPartial()

public AssetSource.AssetGcsSource buildPartial()
Returns
Type Description
AssetSource.AssetGcsSource

clear()

public AssetSource.AssetGcsSource.Builder clear()
Returns
Type Description
AssetSource.AssetGcsSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AssetSource.AssetGcsSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AssetSource.AssetGcsSource.Builder
Overrides

clearGcsUri()

public AssetSource.AssetGcsSource.Builder clearGcsUri()

Cloud storage uri.

string gcs_uri = 1;

Returns
Type Description
AssetSource.AssetGcsSource.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AssetSource.AssetGcsSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AssetSource.AssetGcsSource.Builder
Overrides

clone()

public AssetSource.AssetGcsSource.Builder clone()
Returns
Type Description
AssetSource.AssetGcsSource.Builder
Overrides

getDefaultInstanceForType()

public AssetSource.AssetGcsSource getDefaultInstanceForType()
Returns
Type Description
AssetSource.AssetGcsSource

getDescriptorForType()

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

getGcsUri()

public String getGcsUri()

Cloud storage uri.

string gcs_uri = 1;

Returns
Type Description
String

The gcsUri.

getGcsUriBytes()

public ByteString getGcsUriBytes()

Cloud storage uri.

string gcs_uri = 1;

Returns
Type Description
ByteString

The bytes for gcsUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AssetSource.AssetGcsSource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AssetSource.AssetGcsSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AssetSource.AssetGcsSource.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsUri(String value)

public AssetSource.AssetGcsSource.Builder setGcsUri(String value)

Cloud storage uri.

string gcs_uri = 1;

Parameter
Name Description
value String

The gcsUri to set.

Returns
Type Description
AssetSource.AssetGcsSource.Builder

This builder for chaining.

setGcsUriBytes(ByteString value)

public AssetSource.AssetGcsSource.Builder setGcsUriBytes(ByteString value)

Cloud storage uri.

string gcs_uri = 1;

Parameter
Name Description
value ByteString

The bytes for gcsUri to set.

Returns
Type Description
AssetSource.AssetGcsSource.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final AssetSource.AssetGcsSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AssetSource.AssetGcsSource.Builder
Overrides