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

        public RuntimeAccessConfig.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<RuntimeAccessConfig.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<RuntimeAccessConfig.Builder>
      • getDefaultInstanceForType

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

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

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

        public RuntimeAccessConfig.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<RuntimeAccessConfig.Builder>
      • setField

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

        public RuntimeAccessConfig.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<RuntimeAccessConfig.Builder>
      • clearOneof

        public RuntimeAccessConfig.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<RuntimeAccessConfig.Builder>
      • setRepeatedField

        public RuntimeAccessConfig.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<RuntimeAccessConfig.Builder>
      • addRepeatedField

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

        public RuntimeAccessConfig.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RuntimeAccessConfig.Builder>
      • isInitialized

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

        public RuntimeAccessConfig.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<RuntimeAccessConfig.Builder>
        Throws:
        IOException
      • getAccessTypeValue

        public int getAccessTypeValue()
         The type of access mode this instance.
         
        .google.cloud.notebooks.v1.RuntimeAccessConfig.RuntimeAccessType access_type = 1;
        Specified by:
        getAccessTypeValue in interface RuntimeAccessConfigOrBuilder
        Returns:
        The enum numeric value on the wire for accessType.
      • setAccessTypeValue

        public RuntimeAccessConfig.Builder setAccessTypeValue​(int value)
         The type of access mode this instance.
         
        .google.cloud.notebooks.v1.RuntimeAccessConfig.RuntimeAccessType access_type = 1;
        Parameters:
        value - The enum numeric value on the wire for accessType to set.
        Returns:
        This builder for chaining.
      • clearAccessType

        public RuntimeAccessConfig.Builder clearAccessType()
         The type of access mode this instance.
         
        .google.cloud.notebooks.v1.RuntimeAccessConfig.RuntimeAccessType access_type = 1;
        Returns:
        This builder for chaining.
      • getRuntimeOwner

        public String getRuntimeOwner()
         The owner of this runtime after creation. Format: `alias@example.com`
         Currently supports one owner only.
         
        string runtime_owner = 2;
        Specified by:
        getRuntimeOwner in interface RuntimeAccessConfigOrBuilder
        Returns:
        The runtimeOwner.
      • getRuntimeOwnerBytes

        public com.google.protobuf.ByteString getRuntimeOwnerBytes()
         The owner of this runtime after creation. Format: `alias@example.com`
         Currently supports one owner only.
         
        string runtime_owner = 2;
        Specified by:
        getRuntimeOwnerBytes in interface RuntimeAccessConfigOrBuilder
        Returns:
        The bytes for runtimeOwner.
      • setRuntimeOwner

        public RuntimeAccessConfig.Builder setRuntimeOwner​(String value)
         The owner of this runtime after creation. Format: `alias@example.com`
         Currently supports one owner only.
         
        string runtime_owner = 2;
        Parameters:
        value - The runtimeOwner to set.
        Returns:
        This builder for chaining.
      • clearRuntimeOwner

        public RuntimeAccessConfig.Builder clearRuntimeOwner()
         The owner of this runtime after creation. Format: `alias@example.com`
         Currently supports one owner only.
         
        string runtime_owner = 2;
        Returns:
        This builder for chaining.
      • setRuntimeOwnerBytes

        public RuntimeAccessConfig.Builder setRuntimeOwnerBytes​(com.google.protobuf.ByteString value)
         The owner of this runtime after creation. Format: `alias@example.com`
         Currently supports one owner only.
         
        string runtime_owner = 2;
        Parameters:
        value - The bytes for runtimeOwner to set.
        Returns:
        This builder for chaining.
      • getProxyUri

        public String getProxyUri()
         Output only. The proxy endpoint that is used to access the runtime.
         
        string proxy_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getProxyUri in interface RuntimeAccessConfigOrBuilder
        Returns:
        The proxyUri.
      • getProxyUriBytes

        public com.google.protobuf.ByteString getProxyUriBytes()
         Output only. The proxy endpoint that is used to access the runtime.
         
        string proxy_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getProxyUriBytes in interface RuntimeAccessConfigOrBuilder
        Returns:
        The bytes for proxyUri.
      • setProxyUri

        public RuntimeAccessConfig.Builder setProxyUri​(String value)
         Output only. The proxy endpoint that is used to access the runtime.
         
        string proxy_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The proxyUri to set.
        Returns:
        This builder for chaining.
      • clearProxyUri

        public RuntimeAccessConfig.Builder clearProxyUri()
         Output only. The proxy endpoint that is used to access the runtime.
         
        string proxy_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setProxyUriBytes

        public RuntimeAccessConfig.Builder setProxyUriBytes​(com.google.protobuf.ByteString value)
         Output only. The proxy endpoint that is used to access the runtime.
         
        string proxy_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for proxyUri to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final RuntimeAccessConfig.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<RuntimeAccessConfig.Builder>
      • mergeUnknownFields

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