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