public static final class FetchReadTokenResponse.Builder extends GeneratedMessageV3.Builder<FetchReadTokenResponse.Builder> implements FetchReadTokenResponseOrBuilder
Message for responding to get read token.
Protobuf type google.devtools.cloudbuild.v2.FetchReadTokenResponse
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 FetchReadTokenResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public FetchReadTokenResponse build()
Returns
public FetchReadTokenResponse buildPartial()
Returns
public FetchReadTokenResponse.Builder clear()
Returns
Overrides
public FetchReadTokenResponse.Builder clearExpirationTime()
Expiration timestamp. Can be empty if unknown or non-expiring.
.google.protobuf.Timestamp expiration_time = 2;
Returns
public FetchReadTokenResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public FetchReadTokenResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public FetchReadTokenResponse.Builder clearToken()
The token content.
string token = 1;
Returns
public FetchReadTokenResponse.Builder clone()
Returns
Overrides
public FetchReadTokenResponse 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 FetchReadTokenResponse.Builder mergeExpirationTime(Timestamp value)
Expiration timestamp. Can be empty if unknown or non-expiring.
.google.protobuf.Timestamp expiration_time = 2;
Parameter
Returns
public FetchReadTokenResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public FetchReadTokenResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public FetchReadTokenResponse.Builder mergeFrom(FetchReadTokenResponse other)
Parameter
Returns
public final FetchReadTokenResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public FetchReadTokenResponse.Builder setExpirationTime(Timestamp value)
Expiration timestamp. Can be empty if unknown or non-expiring.
.google.protobuf.Timestamp expiration_time = 2;
Parameter
Returns
public FetchReadTokenResponse.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 FetchReadTokenResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public FetchReadTokenResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public FetchReadTokenResponse.Builder setToken(String value)
The token content.
string token = 1;
Parameter
Name | Description |
value | String
The token to set.
|
Returns
public FetchReadTokenResponse.Builder setTokenBytes(ByteString value)
The token content.
string token = 1;
Parameter
Name | Description |
value | ByteString
The bytes for token to set.
|
Returns
public final FetchReadTokenResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides