Class AuthorizeEnvironmentRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizeEnvironmentRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizeEnvironmentRequest.Builder>
      • getDefaultInstanceForType

        public AuthorizeEnvironmentRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public AuthorizeEnvironmentRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public AuthorizeEnvironmentRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizeEnvironmentRequest.Builder>
      • mergeFrom

        public AuthorizeEnvironmentRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AuthorizeEnvironmentRequest.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Name of the resource that should receive the credentials, for example
         `users/me/environments/default` or
         `users/someone@example.com/environments/default`.
         
        string name = 1;
        Specified by:
        getName in interface AuthorizeEnvironmentRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Name of the resource that should receive the credentials, for example
         `users/me/environments/default` or
         `users/someone@example.com/environments/default`.
         
        string name = 1;
        Specified by:
        getNameBytes in interface AuthorizeEnvironmentRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public AuthorizeEnvironmentRequest.Builder setName​(String value)
         Name of the resource that should receive the credentials, for example
         `users/me/environments/default` or
         `users/someone@example.com/environments/default`.
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public AuthorizeEnvironmentRequest.Builder clearName()
         Name of the resource that should receive the credentials, for example
         `users/me/environments/default` or
         `users/someone@example.com/environments/default`.
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public AuthorizeEnvironmentRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Name of the resource that should receive the credentials, for example
         `users/me/environments/default` or
         `users/someone@example.com/environments/default`.
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getAccessTokenBytes

        public com.google.protobuf.ByteString getAccessTokenBytes()
         The OAuth access token that should be sent to the environment.
         
        string access_token = 2;
        Specified by:
        getAccessTokenBytes in interface AuthorizeEnvironmentRequestOrBuilder
        Returns:
        The bytes for accessToken.
      • setAccessToken

        public AuthorizeEnvironmentRequest.Builder setAccessToken​(String value)
         The OAuth access token that should be sent to the environment.
         
        string access_token = 2;
        Parameters:
        value - The accessToken to set.
        Returns:
        This builder for chaining.
      • clearAccessToken

        public AuthorizeEnvironmentRequest.Builder clearAccessToken()
         The OAuth access token that should be sent to the environment.
         
        string access_token = 2;
        Returns:
        This builder for chaining.
      • setAccessTokenBytes

        public AuthorizeEnvironmentRequest.Builder setAccessTokenBytes​(com.google.protobuf.ByteString value)
         The OAuth access token that should be sent to the environment.
         
        string access_token = 2;
        Parameters:
        value - The bytes for accessToken to set.
        Returns:
        This builder for chaining.
      • getIdTokenBytes

        public com.google.protobuf.ByteString getIdTokenBytes()
         The OAuth ID token that should be sent to the environment.
         
        string id_token = 4;
        Specified by:
        getIdTokenBytes in interface AuthorizeEnvironmentRequestOrBuilder
        Returns:
        The bytes for idToken.
      • setIdToken

        public AuthorizeEnvironmentRequest.Builder setIdToken​(String value)
         The OAuth ID token that should be sent to the environment.
         
        string id_token = 4;
        Parameters:
        value - The idToken to set.
        Returns:
        This builder for chaining.
      • clearIdToken

        public AuthorizeEnvironmentRequest.Builder clearIdToken()
         The OAuth ID token that should be sent to the environment.
         
        string id_token = 4;
        Returns:
        This builder for chaining.
      • setIdTokenBytes

        public AuthorizeEnvironmentRequest.Builder setIdTokenBytes​(com.google.protobuf.ByteString value)
         The OAuth ID token that should be sent to the environment.
         
        string id_token = 4;
        Parameters:
        value - The bytes for idToken to set.
        Returns:
        This builder for chaining.
      • hasExpireTime

        public boolean hasExpireTime()
         The time when the credentials expire. If not set, defaults to one hour from
         when the server received the request.
         
        .google.protobuf.Timestamp expire_time = 3;
        Specified by:
        hasExpireTime in interface AuthorizeEnvironmentRequestOrBuilder
        Returns:
        Whether the expireTime field is set.
      • getExpireTime

        public com.google.protobuf.Timestamp getExpireTime()
         The time when the credentials expire. If not set, defaults to one hour from
         when the server received the request.
         
        .google.protobuf.Timestamp expire_time = 3;
        Specified by:
        getExpireTime in interface AuthorizeEnvironmentRequestOrBuilder
        Returns:
        The expireTime.
      • setExpireTime

        public AuthorizeEnvironmentRequest.Builder setExpireTime​(com.google.protobuf.Timestamp value)
         The time when the credentials expire. If not set, defaults to one hour from
         when the server received the request.
         
        .google.protobuf.Timestamp expire_time = 3;
      • setExpireTime

        public AuthorizeEnvironmentRequest.Builder setExpireTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The time when the credentials expire. If not set, defaults to one hour from
         when the server received the request.
         
        .google.protobuf.Timestamp expire_time = 3;
      • mergeExpireTime

        public AuthorizeEnvironmentRequest.Builder mergeExpireTime​(com.google.protobuf.Timestamp value)
         The time when the credentials expire. If not set, defaults to one hour from
         when the server received the request.
         
        .google.protobuf.Timestamp expire_time = 3;
      • clearExpireTime

        public AuthorizeEnvironmentRequest.Builder clearExpireTime()
         The time when the credentials expire. If not set, defaults to one hour from
         when the server received the request.
         
        .google.protobuf.Timestamp expire_time = 3;
      • getExpireTimeBuilder

        public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
         The time when the credentials expire. If not set, defaults to one hour from
         when the server received the request.
         
        .google.protobuf.Timestamp expire_time = 3;
      • getExpireTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
         The time when the credentials expire. If not set, defaults to one hour from
         when the server received the request.
         
        .google.protobuf.Timestamp expire_time = 3;
        Specified by:
        getExpireTimeOrBuilder in interface AuthorizeEnvironmentRequestOrBuilder
      • mergeUnknownFields

        public final AuthorizeEnvironmentRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizeEnvironmentRequest.Builder>