Class GenerateRetrievalUrlResponse.Builder (0.40.0)

public static final class GenerateRetrievalUrlResponse.Builder extends GeneratedMessage.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

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

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.

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

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.