Class FetchReadWriteTokenResponse.Builder (3.44.0)

public static final class FetchReadWriteTokenResponse.Builder extends GeneratedMessageV3.Builder<FetchReadWriteTokenResponse.Builder> implements FetchReadWriteTokenResponseOrBuilder

Message for responding to get read/write token.

Protobuf type google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchReadWriteTokenResponse build()
Returns
Type Description
FetchReadWriteTokenResponse

buildPartial()

public FetchReadWriteTokenResponse buildPartial()
Returns
Type Description
FetchReadWriteTokenResponse

clear()

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

clearExpirationTime()

public FetchReadWriteTokenResponse.Builder clearExpirationTime()

Expiration timestamp. Can be empty if unknown or non-expiring.

.google.protobuf.Timestamp expiration_time = 2;

Returns
Type Description
FetchReadWriteTokenResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearToken()

public FetchReadWriteTokenResponse.Builder clearToken()

The token content.

string token = 1;

Returns
Type Description
FetchReadWriteTokenResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public FetchReadWriteTokenResponse getDefaultInstanceForType()
Returns
Type Description
FetchReadWriteTokenResponse

getDescriptorForType()

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

getExpirationTime()

public Timestamp getExpirationTime()

Expiration timestamp. Can be empty if unknown or non-expiring.

.google.protobuf.Timestamp expiration_time = 2;

Returns
Type Description
Timestamp

The expirationTime.

getExpirationTimeBuilder()

public Timestamp.Builder getExpirationTimeBuilder()

Expiration timestamp. Can be empty if unknown or non-expiring.

.google.protobuf.Timestamp expiration_time = 2;

Returns
Type Description
Builder

getExpirationTimeOrBuilder()

public TimestampOrBuilder getExpirationTimeOrBuilder()

Expiration timestamp. Can be empty if unknown or non-expiring.

.google.protobuf.Timestamp expiration_time = 2;

Returns
Type Description
TimestampOrBuilder

getToken()

public String getToken()

The token content.

string token = 1;

Returns
Type Description
String

The token.

getTokenBytes()

public ByteString getTokenBytes()

The token content.

string token = 1;

Returns
Type Description
ByteString

The bytes for token.

hasExpirationTime()

public boolean hasExpirationTime()

Expiration timestamp. Can be empty if unknown or non-expiring.

.google.protobuf.Timestamp expiration_time = 2;

Returns
Type Description
boolean

Whether the expirationTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExpirationTime(Timestamp value)

public FetchReadWriteTokenResponse.Builder mergeExpirationTime(Timestamp value)

Expiration timestamp. Can be empty if unknown or non-expiring.

.google.protobuf.Timestamp expiration_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
FetchReadWriteTokenResponse.Builder

mergeFrom(FetchReadWriteTokenResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setExpirationTime(Timestamp value)

public FetchReadWriteTokenResponse.Builder setExpirationTime(Timestamp value)

Expiration timestamp. Can be empty if unknown or non-expiring.

.google.protobuf.Timestamp expiration_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
FetchReadWriteTokenResponse.Builder

setExpirationTime(Timestamp.Builder builderForValue)

public FetchReadWriteTokenResponse.Builder setExpirationTime(Timestamp.Builder builderForValue)

Expiration timestamp. Can be empty if unknown or non-expiring.

.google.protobuf.Timestamp expiration_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
FetchReadWriteTokenResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setToken(String value)

public FetchReadWriteTokenResponse.Builder setToken(String value)

The token content.

string token = 1;

Parameter
Name Description
value String

The token to set.

Returns
Type Description
FetchReadWriteTokenResponse.Builder

This builder for chaining.

setTokenBytes(ByteString value)

public FetchReadWriteTokenResponse.Builder setTokenBytes(ByteString value)

The token content.

string token = 1;

Parameter
Name Description
value ByteString

The bytes for token to set.

Returns
Type Description
FetchReadWriteTokenResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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