Class AuthOuterClass.FetchTokenResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<AuthOuterClass.FetchTokenResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<AuthOuterClass.FetchTokenResponse.Builder>
moby.filesync.v1.AuthOuterClass.FetchTokenResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,AuthOuterClass.FetchTokenResponseOrBuilder
- Enclosing class:
AuthOuterClass.FetchTokenResponse
public static final class AuthOuterClass.FetchTokenResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AuthOuterClass.FetchTokenResponse.Builder>
implements AuthOuterClass.FetchTokenResponseOrBuilder
Protobuf type
moby.filesync.v1.FetchTokenResponse
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
secondstimestampstring Token = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
secondslong
timestampgetToken()
string Token = 1;
com.google.protobuf.ByteString
string Token = 1;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) setExpiresIn
(long value) secondssetIssuedAt
(long value) timestampstring Token = 1;
setTokenBytes
(com.google.protobuf.ByteString value) string Token = 1;
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<AuthOuterClass.FetchTokenResponse.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<AuthOuterClass.FetchTokenResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<AuthOuterClass.FetchTokenResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AuthOuterClass.FetchTokenResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<AuthOuterClass.FetchTokenResponse.Builder>
-
mergeFrom
public AuthOuterClass.FetchTokenResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AuthOuterClass.FetchTokenResponse.Builder>
- Throws:
IOException
-
getToken
string Token = 1;
- Specified by:
getToken
in interfaceAuthOuterClass.FetchTokenResponseOrBuilder
- Returns:
- The token.
-
getTokenBytes
public com.google.protobuf.ByteString getTokenBytes()string Token = 1;
- Specified by:
getTokenBytes
in interfaceAuthOuterClass.FetchTokenResponseOrBuilder
- Returns:
- The bytes for token.
-
setToken
string Token = 1;
- Parameters:
value
- The token to set.- Returns:
- This builder for chaining.
-
clearToken
string Token = 1;
- Returns:
- This builder for chaining.
-
setTokenBytes
public AuthOuterClass.FetchTokenResponse.Builder setTokenBytes(com.google.protobuf.ByteString value) string Token = 1;
- Parameters:
value
- The bytes for token to set.- Returns:
- This builder for chaining.
-
getExpiresIn
public long getExpiresIn()seconds
int64 ExpiresIn = 2;
- Specified by:
getExpiresIn
in interfaceAuthOuterClass.FetchTokenResponseOrBuilder
- Returns:
- The expiresIn.
-
setExpiresIn
seconds
int64 ExpiresIn = 2;
- Parameters:
value
- The expiresIn to set.- Returns:
- This builder for chaining.
-
clearExpiresIn
seconds
int64 ExpiresIn = 2;
- Returns:
- This builder for chaining.
-
getIssuedAt
public long getIssuedAt()timestamp
int64 IssuedAt = 3;
- Specified by:
getIssuedAt
in interfaceAuthOuterClass.FetchTokenResponseOrBuilder
- Returns:
- The issuedAt.
-
setIssuedAt
timestamp
int64 IssuedAt = 3;
- Parameters:
value
- The issuedAt to set.- Returns:
- This builder for chaining.
-
clearIssuedAt
timestamp
int64 IssuedAt = 3;
- Returns:
- This builder for chaining.
-