Interface UploadFileInfoOrBuilder (0.12.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
NameDescription
keyString
Returns
TypeDescription
boolean

getHeaders()

public abstract Map<String,String> getHeaders()

Use #getHeadersMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getSignedUri()

public abstract String getSignedUri()

Output only. Upload URI for the file.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the uriExpirationTime field is set.