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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FetchReadWriteTokenResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FetchReadWriteTokenResponse build()
buildPartial()
public FetchReadWriteTokenResponse buildPartial()
clear()
public FetchReadWriteTokenResponse.Builder clear()
Overrides
clearExpirationTime()
public FetchReadWriteTokenResponse.Builder clearExpirationTime()
Expiration timestamp. Can be empty if unknown or non-expiring.
.google.protobuf.Timestamp expiration_time = 2;
clearField(Descriptors.FieldDescriptor field)
public FetchReadWriteTokenResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FetchReadWriteTokenResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearToken()
public FetchReadWriteTokenResponse.Builder clearToken()
The token content.
string token = 1;
clone()
public FetchReadWriteTokenResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public FetchReadWriteTokenResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getExpirationTimeOrBuilder()
public TimestampOrBuilder getExpirationTimeOrBuilder()
Expiration timestamp. Can be empty if unknown or non-expiring.
.google.protobuf.Timestamp expiration_time = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(FetchReadWriteTokenResponse other)
public FetchReadWriteTokenResponse.Builder mergeFrom(FetchReadWriteTokenResponse other)
public FetchReadWriteTokenResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FetchReadWriteTokenResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FetchReadWriteTokenResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public FetchReadWriteTokenResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FetchReadWriteTokenResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final FetchReadWriteTokenResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides