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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public FetchReadWriteTokenResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public FetchReadWriteTokenResponse build()
Returns
public FetchReadWriteTokenResponse buildPartial()
Returns
public FetchReadWriteTokenResponse.Builder clear()
Returns
Overrides
public FetchReadWriteTokenResponse.Builder clearExpirationTime()
Expiration timestamp. Can be empty if unknown or non-expiring.
.google.protobuf.Timestamp expiration_time = 2;
Returns
public FetchReadWriteTokenResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public FetchReadWriteTokenResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public FetchReadWriteTokenResponse.Builder clearToken()
The token content.
string token = 1;
Returns
public FetchReadWriteTokenResponse.Builder clone()
Returns
Overrides
public FetchReadWriteTokenResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Timestamp getExpirationTime()
Expiration timestamp. Can be empty if unknown or non-expiring.
.google.protobuf.Timestamp expiration_time = 2;
Returns
public Timestamp.Builder getExpirationTimeBuilder()
Expiration timestamp. Can be empty if unknown or non-expiring.
.google.protobuf.Timestamp expiration_time = 2;
Returns
public TimestampOrBuilder getExpirationTimeOrBuilder()
Expiration timestamp. Can be empty if unknown or non-expiring.
.google.protobuf.Timestamp expiration_time = 2;
Returns
The token content.
string token = 1;
Returns
Type | Description |
String | The token.
|
public ByteString getTokenBytes()
The token content.
string token = 1;
Returns
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public FetchReadWriteTokenResponse.Builder mergeExpirationTime(Timestamp value)
Expiration timestamp. Can be empty if unknown or non-expiring.
.google.protobuf.Timestamp expiration_time = 2;
Parameter
Returns
public FetchReadWriteTokenResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public FetchReadWriteTokenResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public FetchReadWriteTokenResponse.Builder mergeFrom(FetchReadWriteTokenResponse other)
Parameter
Returns
public final FetchReadWriteTokenResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public FetchReadWriteTokenResponse.Builder setExpirationTime(Timestamp value)
Expiration timestamp. Can be empty if unknown or non-expiring.
.google.protobuf.Timestamp expiration_time = 2;
Parameter
Returns
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
public FetchReadWriteTokenResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public FetchReadWriteTokenResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public FetchReadWriteTokenResponse.Builder setToken(String value)
The token content.
string token = 1;
Parameter
Name | Description |
value | String
The token to set.
|
Returns
public FetchReadWriteTokenResponse.Builder setTokenBytes(ByteString value)
The token content.
string token = 1;
Parameter
Name | Description |
value | ByteString
The bytes for token to set.
|
Returns
public final FetchReadWriteTokenResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides