Class FetchAccessTokenResponse (0.10.0)

public final class FetchAccessTokenResponse extends GeneratedMessageV3 implements FetchAccessTokenResponseOrBuilder

Response message for FetchAccessToken.

Protobuf type google.cloud.backupdr.v1.FetchAccessTokenResponse

Static Fields

EXPIRE_TIME_FIELD_NUMBER

public static final int EXPIRE_TIME_FIELD_NUMBER
Field Value
Type Description
int

READ_LOCATION_FIELD_NUMBER

public static final int READ_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

TOKEN_FIELD_NUMBER

public static final int TOKEN_FIELD_NUMBER
Field Value
Type Description
int

WRITE_LOCATION_FIELD_NUMBER

public static final int WRITE_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FetchAccessTokenResponse getDefaultInstance()
Returns
Type Description
FetchAccessTokenResponse

getDescriptor()

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

newBuilder()

public static FetchAccessTokenResponse.Builder newBuilder()
Returns
Type Description
FetchAccessTokenResponse.Builder

newBuilder(FetchAccessTokenResponse prototype)

public static FetchAccessTokenResponse.Builder newBuilder(FetchAccessTokenResponse prototype)
Parameter
Name Description
prototype FetchAccessTokenResponse
Returns
Type Description
FetchAccessTokenResponse.Builder

parseDelimitedFrom(InputStream input)

public static FetchAccessTokenResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchAccessTokenResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchAccessTokenResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchAccessTokenResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FetchAccessTokenResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FetchAccessTokenResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FetchAccessTokenResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchAccessTokenResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FetchAccessTokenResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FetchAccessTokenResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FetchAccessTokenResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchAccessTokenResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FetchAccessTokenResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FetchAccessTokenResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchAccessTokenResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchAccessTokenResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FetchAccessTokenResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchAccessTokenResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchAccessTokenResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchAccessTokenResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FetchAccessTokenResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FetchAccessTokenResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FetchAccessTokenResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchAccessTokenResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FetchAccessTokenResponse> parser()
Returns
Type Description
Parser<FetchAccessTokenResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FetchAccessTokenResponse getDefaultInstanceForType()
Returns
Type Description
FetchAccessTokenResponse

getExpireTime()

public Timestamp getExpireTime()

The token is valid until this time.

.google.protobuf.Timestamp expire_time = 4;

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeOrBuilder()

public TimestampOrBuilder getExpireTimeOrBuilder()

The token is valid until this time.

.google.protobuf.Timestamp expire_time = 4;

Returns
Type Description
TimestampOrBuilder

getParserForType()

public Parser<FetchAccessTokenResponse> getParserForType()
Returns
Type Description
Parser<FetchAccessTokenResponse>
Overrides

getReadLocation()

public String getReadLocation()

The location in bucket that can be used for reading.

string read_location = 1;

Returns
Type Description
String

The readLocation.

getReadLocationBytes()

public ByteString getReadLocationBytes()

The location in bucket that can be used for reading.

string read_location = 1;

Returns
Type Description
ByteString

The bytes for readLocation.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getToken()

public String getToken()

The downscoped token that was created.

string token = 3;

Returns
Type Description
String

The token.

getTokenBytes()

public ByteString getTokenBytes()

The downscoped token that was created.

string token = 3;

Returns
Type Description
ByteString

The bytes for token.

getWriteLocation()

public String getWriteLocation()

The location in bucket that can be used for writing.

string write_location = 2;

Returns
Type Description
String

The writeLocation.

getWriteLocationBytes()

public ByteString getWriteLocationBytes()

The location in bucket that can be used for writing.

string write_location = 2;

Returns
Type Description
ByteString

The bytes for writeLocation.

hasExpireTime()

public boolean hasExpireTime()

The token is valid until this time.

.google.protobuf.Timestamp expire_time = 4;

Returns
Type Description
boolean

Whether the expireTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FetchAccessTokenResponse.Builder newBuilderForType()
Returns
Type Description
FetchAccessTokenResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FetchAccessTokenResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FetchAccessTokenResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FetchAccessTokenResponse.Builder toBuilder()
Returns
Type Description
FetchAccessTokenResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException