public final class GenerateAccessTokenResponse extends GeneratedMessageV3 implements GenerateAccessTokenResponseOrBuilder
google.iam.credentials.v1.GenerateAccessTokenResponse
Modifier and Type | Class and Description |
---|---|
static class |
GenerateAccessTokenResponse.Builder
Protobuf type
google.iam.credentials.v1.GenerateAccessTokenResponse |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
ACCESS_TOKEN_FIELD_NUMBER |
static int |
EXPIRE_TIME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int ACCESS_TOKEN_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getAccessToken()
The OAuth 2.0 access token.
string access_token = 1;
getAccessToken
in interface GenerateAccessTokenResponseOrBuilder
public ByteString getAccessTokenBytes()
The OAuth 2.0 access token.
string access_token = 1;
getAccessTokenBytes
in interface GenerateAccessTokenResponseOrBuilder
public boolean hasExpireTime()
Token expiration time. The expiration time is always set.
.google.protobuf.Timestamp expire_time = 3;
hasExpireTime
in interface GenerateAccessTokenResponseOrBuilder
public Timestamp getExpireTime()
Token expiration time. The expiration time is always set.
.google.protobuf.Timestamp expire_time = 3;
getExpireTime
in interface GenerateAccessTokenResponseOrBuilder
public TimestampOrBuilder getExpireTimeOrBuilder()
Token expiration time. The expiration time is always set.
.google.protobuf.Timestamp expire_time = 3;
getExpireTimeOrBuilder
in interface GenerateAccessTokenResponseOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static GenerateAccessTokenResponse parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GenerateAccessTokenResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GenerateAccessTokenResponse parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GenerateAccessTokenResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GenerateAccessTokenResponse parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GenerateAccessTokenResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GenerateAccessTokenResponse parseFrom(InputStream input) throws IOException
IOException
public static GenerateAccessTokenResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GenerateAccessTokenResponse parseDelimitedFrom(InputStream input) throws IOException
IOException
public static GenerateAccessTokenResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GenerateAccessTokenResponse parseFrom(CodedInputStream input) throws IOException
IOException
public static GenerateAccessTokenResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public GenerateAccessTokenResponse.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static GenerateAccessTokenResponse.Builder newBuilder()
public static GenerateAccessTokenResponse.Builder newBuilder(GenerateAccessTokenResponse prototype)
public GenerateAccessTokenResponse.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected GenerateAccessTokenResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static GenerateAccessTokenResponse getDefaultInstance()
public static Parser<GenerateAccessTokenResponse> parser()
public Parser<GenerateAccessTokenResponse> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public GenerateAccessTokenResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2021 Google LLC. All rights reserved.