Interface UploadFileInfoOrBuilder (0.25.0)

public interface UploadFileInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsHeaders(String key)

public abstract boolean containsHeaders(String key)

Output only. The headers that were used to sign the URI.

map<string, string> headers = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
boolean

getHeaders() (deprecated)

public abstract Map<String,String> getHeaders()

Use #getHeadersMap() instead.

Returns
Type Description
Map<String,String>

getHeadersCount()

public abstract int getHeadersCount()

Output only. The headers that were used to sign the URI.

map<string, string> headers = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getHeadersMap()

public abstract Map<String,String> getHeadersMap()

Output only. The headers that were used to sign the URI.

map<string, string> headers = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,String>

getHeadersOrDefault(String key, String defaultValue)

public abstract String getHeadersOrDefault(String key, String defaultValue)

Output only. The headers that were used to sign the URI.

map<string, string> headers = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getHeadersOrThrow(String key)

public abstract String getHeadersOrThrow(String key)

Output only. The headers that were used to sign the URI.

map<string, string> headers = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
String

getSignedUri()

public abstract String getSignedUri()

Output only. Upload URI for the file.

string signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The signedUri.

getSignedUriBytes()

public abstract ByteString getSignedUriBytes()

Output only. Upload URI for the file.

string signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for signedUri.

getUriExpirationTime()

public abstract Timestamp getUriExpirationTime()

Output only. Expiration time of the upload URI.

.google.protobuf.Timestamp uri_expiration_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The uriExpirationTime.

getUriExpirationTimeOrBuilder()

public abstract TimestampOrBuilder getUriExpirationTimeOrBuilder()

Output only. Expiration time of the upload URI.

.google.protobuf.Timestamp uri_expiration_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasUriExpirationTime()

public abstract boolean hasUriExpirationTime()

Output only. Expiration time of the upload URI.

.google.protobuf.Timestamp uri_expiration_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the uriExpirationTime field is set.