Class StartEnvironmentRequest.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<StartEnvironmentRequest.Builder>
      • clear

        public StartEnvironmentRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<StartEnvironmentRequest.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<StartEnvironmentRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public StartEnvironmentRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<StartEnvironmentRequest.Builder>
      • clearField

        public StartEnvironmentRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<StartEnvironmentRequest.Builder>
      • clearOneof

        public StartEnvironmentRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StartEnvironmentRequest.Builder>
      • setRepeatedField

        public StartEnvironmentRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StartEnvironmentRequest.Builder>
      • addRepeatedField

        public StartEnvironmentRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StartEnvironmentRequest.Builder>
      • isInitialized

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

        public StartEnvironmentRequest.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<StartEnvironmentRequest.Builder>
        Throws:
        IOException
      • getName

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

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

        public StartEnvironmentRequest.Builder setName​(String value)
         Name of the resource that should be started, 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 StartEnvironmentRequest.Builder clearName()
         Name of the resource that should be started, for example
         `users/me/environments/default` or
         `users/someone@example.com/environments/default`.
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public StartEnvironmentRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Name of the resource that should be started, 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.
      • getAccessToken

        public String getAccessToken()
         The initial access token passed to the environment. If this is present and
         valid, the environment will be pre-authenticated with gcloud so that the
         user can run gcloud commands in Cloud Shell without having to log in. This
         code can be updated later by calling AuthorizeEnvironment.
         
        string access_token = 2;
        Specified by:
        getAccessToken in interface StartEnvironmentRequestOrBuilder
        Returns:
        The accessToken.
      • getAccessTokenBytes

        public com.google.protobuf.ByteString getAccessTokenBytes()
         The initial access token passed to the environment. If this is present and
         valid, the environment will be pre-authenticated with gcloud so that the
         user can run gcloud commands in Cloud Shell without having to log in. This
         code can be updated later by calling AuthorizeEnvironment.
         
        string access_token = 2;
        Specified by:
        getAccessTokenBytes in interface StartEnvironmentRequestOrBuilder
        Returns:
        The bytes for accessToken.
      • setAccessToken

        public StartEnvironmentRequest.Builder setAccessToken​(String value)
         The initial access token passed to the environment. If this is present and
         valid, the environment will be pre-authenticated with gcloud so that the
         user can run gcloud commands in Cloud Shell without having to log in. This
         code can be updated later by calling AuthorizeEnvironment.
         
        string access_token = 2;
        Parameters:
        value - The accessToken to set.
        Returns:
        This builder for chaining.
      • clearAccessToken

        public StartEnvironmentRequest.Builder clearAccessToken()
         The initial access token passed to the environment. If this is present and
         valid, the environment will be pre-authenticated with gcloud so that the
         user can run gcloud commands in Cloud Shell without having to log in. This
         code can be updated later by calling AuthorizeEnvironment.
         
        string access_token = 2;
        Returns:
        This builder for chaining.
      • setAccessTokenBytes

        public StartEnvironmentRequest.Builder setAccessTokenBytes​(com.google.protobuf.ByteString value)
         The initial access token passed to the environment. If this is present and
         valid, the environment will be pre-authenticated with gcloud so that the
         user can run gcloud commands in Cloud Shell without having to log in. This
         code can be updated later by calling AuthorizeEnvironment.
         
        string access_token = 2;
        Parameters:
        value - The bytes for accessToken to set.
        Returns:
        This builder for chaining.
      • getPublicKeysList

        public com.google.protobuf.ProtocolStringList getPublicKeysList()
         Public keys that should be added to the environment before it is started.
         
        repeated string public_keys = 3;
        Specified by:
        getPublicKeysList in interface StartEnvironmentRequestOrBuilder
        Returns:
        A list containing the publicKeys.
      • getPublicKeysCount

        public int getPublicKeysCount()
         Public keys that should be added to the environment before it is started.
         
        repeated string public_keys = 3;
        Specified by:
        getPublicKeysCount in interface StartEnvironmentRequestOrBuilder
        Returns:
        The count of publicKeys.
      • getPublicKeys

        public String getPublicKeys​(int index)
         Public keys that should be added to the environment before it is started.
         
        repeated string public_keys = 3;
        Specified by:
        getPublicKeys in interface StartEnvironmentRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The publicKeys at the given index.
      • getPublicKeysBytes

        public com.google.protobuf.ByteString getPublicKeysBytes​(int index)
         Public keys that should be added to the environment before it is started.
         
        repeated string public_keys = 3;
        Specified by:
        getPublicKeysBytes in interface StartEnvironmentRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the publicKeys at the given index.
      • setPublicKeys

        public StartEnvironmentRequest.Builder setPublicKeys​(int index,
                                                             String value)
         Public keys that should be added to the environment before it is started.
         
        repeated string public_keys = 3;
        Parameters:
        index - The index to set the value at.
        value - The publicKeys to set.
        Returns:
        This builder for chaining.
      • addPublicKeys

        public StartEnvironmentRequest.Builder addPublicKeys​(String value)
         Public keys that should be added to the environment before it is started.
         
        repeated string public_keys = 3;
        Parameters:
        value - The publicKeys to add.
        Returns:
        This builder for chaining.
      • addAllPublicKeys

        public StartEnvironmentRequest.Builder addAllPublicKeys​(Iterable<String> values)
         Public keys that should be added to the environment before it is started.
         
        repeated string public_keys = 3;
        Parameters:
        values - The publicKeys to add.
        Returns:
        This builder for chaining.
      • clearPublicKeys

        public StartEnvironmentRequest.Builder clearPublicKeys()
         Public keys that should be added to the environment before it is started.
         
        repeated string public_keys = 3;
        Returns:
        This builder for chaining.
      • addPublicKeysBytes

        public StartEnvironmentRequest.Builder addPublicKeysBytes​(com.google.protobuf.ByteString value)
         Public keys that should be added to the environment before it is started.
         
        repeated string public_keys = 3;
        Parameters:
        value - The bytes of the publicKeys to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

        public final StartEnvironmentRequest.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<StartEnvironmentRequest.Builder>