Class GenerateRetrievalUrlResponse.Builder (0.4.0)

public static final class GenerateRetrievalUrlResponse.Builder extends GeneratedMessageV3.Builder<GenerateRetrievalUrlResponse.Builder> implements GenerateRetrievalUrlResponseOrBuilder

Response message for GenerateRetrievalUrl API.

Protobuf type google.cloud.visionai.v1.GenerateRetrievalUrlResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateRetrievalUrlResponse build()
Returns
Type Description
GenerateRetrievalUrlResponse

buildPartial()

public GenerateRetrievalUrlResponse buildPartial()
Returns
Type Description
GenerateRetrievalUrlResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSignedUri()

public GenerateRetrievalUrlResponse.Builder clearSignedUri()

A signed url to download the content of the asset.

string signed_uri = 1;

Returns
Type Description
GenerateRetrievalUrlResponse.Builder

This builder for chaining.

clone()

public GenerateRetrievalUrlResponse.Builder clone()
Returns
Type Description
GenerateRetrievalUrlResponse.Builder
Overrides

getDefaultInstanceForType()

public GenerateRetrievalUrlResponse getDefaultInstanceForType()
Returns
Type Description
GenerateRetrievalUrlResponse

getDescriptorForType()

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

getSignedUri()

public String getSignedUri()

A signed url to download the content of the asset.

string signed_uri = 1;

Returns
Type Description
String

The signedUri.

getSignedUriBytes()

public ByteString getSignedUriBytes()

A signed url to download the content of the asset.

string signed_uri = 1;

Returns
Type Description
ByteString

The bytes for signedUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateRetrievalUrlResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSignedUri(String value)

public GenerateRetrievalUrlResponse.Builder setSignedUri(String value)

A signed url to download the content of the asset.

string signed_uri = 1;

Parameter
Name Description
value String

The signedUri to set.

Returns
Type Description
GenerateRetrievalUrlResponse.Builder

This builder for chaining.

setSignedUriBytes(ByteString value)

public GenerateRetrievalUrlResponse.Builder setSignedUriBytes(ByteString value)

A signed url to download the content of the asset.

string signed_uri = 1;

Parameter
Name Description
value ByteString

The bytes for signedUri to set.

Returns
Type Description
GenerateRetrievalUrlResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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