Class ListRuntimesResponse.Runtime.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<ListRuntimesResponse.Runtime.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<ListRuntimesResponse.Runtime.Builder>
      • getDefaultInstanceForType

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

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

        public ListRuntimesResponse.Runtime 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<ListRuntimesResponse.Runtime.Builder>
      • mergeFrom

        public ListRuntimesResponse.Runtime.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<ListRuntimesResponse.Runtime.Builder>
        Throws:
        IOException
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name of the runtime, e.g., 'go113', 'nodejs12', etc.
         
        string name = 1;
        Specified by:
        getNameBytes in interface ListRuntimesResponse.RuntimeOrBuilder
        Returns:
        The bytes for name.
      • setName

        public ListRuntimesResponse.Runtime.Builder setName​(String value)
         The name of the runtime, e.g., 'go113', 'nodejs12', etc.
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • setNameBytes

        public ListRuntimesResponse.Runtime.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name of the runtime, e.g., 'go113', 'nodejs12', etc.
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         The user facing name, eg 'Go 1.13', 'Node.js 12', etc.
         
        string display_name = 5;
        Specified by:
        getDisplayNameBytes in interface ListRuntimesResponse.RuntimeOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

        public ListRuntimesResponse.Runtime.Builder setDisplayName​(String value)
         The user facing name, eg 'Go 1.13', 'Node.js 12', etc.
         
        string display_name = 5;
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public ListRuntimesResponse.Runtime.Builder clearDisplayName()
         The user facing name, eg 'Go 1.13', 'Node.js 12', etc.
         
        string display_name = 5;
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public ListRuntimesResponse.Runtime.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         The user facing name, eg 'Go 1.13', 'Node.js 12', etc.
         
        string display_name = 5;
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • getStageValue

        public int getStageValue()
         The stage of life this runtime is in, e.g., BETA, GA, etc.
         
        .google.cloud.functions.v2alpha.ListRuntimesResponse.RuntimeStage stage = 2;
        Specified by:
        getStageValue in interface ListRuntimesResponse.RuntimeOrBuilder
        Returns:
        The enum numeric value on the wire for stage.
      • setStageValue

        public ListRuntimesResponse.Runtime.Builder setStageValue​(int value)
         The stage of life this runtime is in, e.g., BETA, GA, etc.
         
        .google.cloud.functions.v2alpha.ListRuntimesResponse.RuntimeStage stage = 2;
        Parameters:
        value - The enum numeric value on the wire for stage to set.
        Returns:
        This builder for chaining.
      • clearStage

        public ListRuntimesResponse.Runtime.Builder clearStage()
         The stage of life this runtime is in, e.g., BETA, GA, etc.
         
        .google.cloud.functions.v2alpha.ListRuntimesResponse.RuntimeStage stage = 2;
        Returns:
        This builder for chaining.
      • getWarningsList

        public com.google.protobuf.ProtocolStringList getWarningsList()
         Warning messages, e.g., a deprecation warning.
         
        repeated string warnings = 3;
        Specified by:
        getWarningsList in interface ListRuntimesResponse.RuntimeOrBuilder
        Returns:
        A list containing the warnings.
      • getWarnings

        public String getWarnings​(int index)
         Warning messages, e.g., a deprecation warning.
         
        repeated string warnings = 3;
        Specified by:
        getWarnings in interface ListRuntimesResponse.RuntimeOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The warnings at the given index.
      • getWarningsBytes

        public com.google.protobuf.ByteString getWarningsBytes​(int index)
         Warning messages, e.g., a deprecation warning.
         
        repeated string warnings = 3;
        Specified by:
        getWarningsBytes in interface ListRuntimesResponse.RuntimeOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the warnings at the given index.
      • setWarnings

        public ListRuntimesResponse.Runtime.Builder setWarnings​(int index,
                                                                String value)
         Warning messages, e.g., a deprecation warning.
         
        repeated string warnings = 3;
        Parameters:
        index - The index to set the value at.
        value - The warnings to set.
        Returns:
        This builder for chaining.
      • addWarnings

        public ListRuntimesResponse.Runtime.Builder addWarnings​(String value)
         Warning messages, e.g., a deprecation warning.
         
        repeated string warnings = 3;
        Parameters:
        value - The warnings to add.
        Returns:
        This builder for chaining.
      • addAllWarnings

        public ListRuntimesResponse.Runtime.Builder addAllWarnings​(Iterable<String> values)
         Warning messages, e.g., a deprecation warning.
         
        repeated string warnings = 3;
        Parameters:
        values - The warnings to add.
        Returns:
        This builder for chaining.
      • clearWarnings

        public ListRuntimesResponse.Runtime.Builder clearWarnings()
         Warning messages, e.g., a deprecation warning.
         
        repeated string warnings = 3;
        Returns:
        This builder for chaining.
      • addWarningsBytes

        public ListRuntimesResponse.Runtime.Builder addWarningsBytes​(com.google.protobuf.ByteString value)
         Warning messages, e.g., a deprecation warning.
         
        repeated string warnings = 3;
        Parameters:
        value - The bytes of the warnings to add.
        Returns:
        This builder for chaining.
      • getEnvironmentValue

        public int getEnvironmentValue()
         The environment for the runtime.
         
        .google.cloud.functions.v2alpha.Environment environment = 4;
        Specified by:
        getEnvironmentValue in interface ListRuntimesResponse.RuntimeOrBuilder
        Returns:
        The enum numeric value on the wire for environment.
      • setEnvironmentValue

        public ListRuntimesResponse.Runtime.Builder setEnvironmentValue​(int value)
         The environment for the runtime.
         
        .google.cloud.functions.v2alpha.Environment environment = 4;
        Parameters:
        value - The enum numeric value on the wire for environment to set.
        Returns:
        This builder for chaining.
      • setEnvironment

        public ListRuntimesResponse.Runtime.Builder setEnvironment​(Environment value)
         The environment for the runtime.
         
        .google.cloud.functions.v2alpha.Environment environment = 4;
        Parameters:
        value - The environment to set.
        Returns:
        This builder for chaining.
      • clearEnvironment

        public ListRuntimesResponse.Runtime.Builder clearEnvironment()
         The environment for the runtime.
         
        .google.cloud.functions.v2alpha.Environment environment = 4;
        Returns:
        This builder for chaining.