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

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

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

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

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

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

        public UpdateRuntimeRequest.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<UpdateRuntimeRequest.Builder>
      • clearField

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

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

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

        public UpdateRuntimeRequest.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<UpdateRuntimeRequest.Builder>
      • isInitialized

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

        public UpdateRuntimeRequest.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<UpdateRuntimeRequest.Builder>
        Throws:
        IOException
      • hasRuntime

        public boolean hasRuntime()
         Required. The Runtime to be updated.
         
        .google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasRuntime in interface UpdateRuntimeRequestOrBuilder
        Returns:
        Whether the runtime field is set.
      • getRuntime

        public Runtime getRuntime()
         Required. The Runtime to be updated.
         
        .google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRuntime in interface UpdateRuntimeRequestOrBuilder
        Returns:
        The runtime.
      • setRuntime

        public UpdateRuntimeRequest.Builder setRuntime​(Runtime value)
         Required. The Runtime to be updated.
         
        .google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];
      • setRuntime

        public UpdateRuntimeRequest.Builder setRuntime​(Runtime.Builder builderForValue)
         Required. The Runtime to be updated.
         
        .google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];
      • mergeRuntime

        public UpdateRuntimeRequest.Builder mergeRuntime​(Runtime value)
         Required. The Runtime to be updated.
         
        .google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];
      • clearRuntime

        public UpdateRuntimeRequest.Builder clearRuntime()
         Required. The Runtime to be updated.
         
        .google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];
      • getRuntimeBuilder

        public Runtime.Builder getRuntimeBuilder()
         Required. The Runtime to be updated.
         
        .google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];
      • hasUpdateMask

        public boolean hasUpdateMask()
         Required. Specifies the path, relative to `Runtime`, of
         the field to update. For example, to change the software configuration
         kernels, the `update_mask` parameter would be
         specified as `software_config.kernels`,
         and the `PATCH` request body would specify the new value, as follows:
        
             {
               "software_config":{
                 "kernels": [{
                    'repository':
                    'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag':
                    'latest' }],
                 }
             }
        
        
         Currently, only the following fields can be updated:
         - `software_config.kernels`
         - `software_config.post_startup_script`
         - `software_config.custom_gpu_driver_path`
         - `software_config.idle_shutdown`
         - `software_config.idle_shutdown_timeout`
         - `software_config.disable_terminal`
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasUpdateMask in interface UpdateRuntimeRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         Required. Specifies the path, relative to `Runtime`, of
         the field to update. For example, to change the software configuration
         kernels, the `update_mask` parameter would be
         specified as `software_config.kernels`,
         and the `PATCH` request body would specify the new value, as follows:
        
             {
               "software_config":{
                 "kernels": [{
                    'repository':
                    'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag':
                    'latest' }],
                 }
             }
        
        
         Currently, only the following fields can be updated:
         - `software_config.kernels`
         - `software_config.post_startup_script`
         - `software_config.custom_gpu_driver_path`
         - `software_config.idle_shutdown`
         - `software_config.idle_shutdown_timeout`
         - `software_config.disable_terminal`
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdateMask in interface UpdateRuntimeRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateRuntimeRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Required. Specifies the path, relative to `Runtime`, of
         the field to update. For example, to change the software configuration
         kernels, the `update_mask` parameter would be
         specified as `software_config.kernels`,
         and the `PATCH` request body would specify the new value, as follows:
        
             {
               "software_config":{
                 "kernels": [{
                    'repository':
                    'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag':
                    'latest' }],
                 }
             }
        
        
         Currently, only the following fields can be updated:
         - `software_config.kernels`
         - `software_config.post_startup_script`
         - `software_config.custom_gpu_driver_path`
         - `software_config.idle_shutdown`
         - `software_config.idle_shutdown_timeout`
         - `software_config.disable_terminal`
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • setUpdateMask

        public UpdateRuntimeRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Required. Specifies the path, relative to `Runtime`, of
         the field to update. For example, to change the software configuration
         kernels, the `update_mask` parameter would be
         specified as `software_config.kernels`,
         and the `PATCH` request body would specify the new value, as follows:
        
             {
               "software_config":{
                 "kernels": [{
                    'repository':
                    'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag':
                    'latest' }],
                 }
             }
        
        
         Currently, only the following fields can be updated:
         - `software_config.kernels`
         - `software_config.post_startup_script`
         - `software_config.custom_gpu_driver_path`
         - `software_config.idle_shutdown`
         - `software_config.idle_shutdown_timeout`
         - `software_config.disable_terminal`
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeUpdateMask

        public UpdateRuntimeRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Required. Specifies the path, relative to `Runtime`, of
         the field to update. For example, to change the software configuration
         kernels, the `update_mask` parameter would be
         specified as `software_config.kernels`,
         and the `PATCH` request body would specify the new value, as follows:
        
             {
               "software_config":{
                 "kernels": [{
                    'repository':
                    'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag':
                    'latest' }],
                 }
             }
        
        
         Currently, only the following fields can be updated:
         - `software_config.kernels`
         - `software_config.post_startup_script`
         - `software_config.custom_gpu_driver_path`
         - `software_config.idle_shutdown`
         - `software_config.idle_shutdown_timeout`
         - `software_config.disable_terminal`
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearUpdateMask

        public UpdateRuntimeRequest.Builder clearUpdateMask()
         Required. Specifies the path, relative to `Runtime`, of
         the field to update. For example, to change the software configuration
         kernels, the `update_mask` parameter would be
         specified as `software_config.kernels`,
         and the `PATCH` request body would specify the new value, as follows:
        
             {
               "software_config":{
                 "kernels": [{
                    'repository':
                    'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag':
                    'latest' }],
                 }
             }
        
        
         Currently, only the following fields can be updated:
         - `software_config.kernels`
         - `software_config.post_startup_script`
         - `software_config.custom_gpu_driver_path`
         - `software_config.idle_shutdown`
         - `software_config.idle_shutdown_timeout`
         - `software_config.disable_terminal`
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         Required. Specifies the path, relative to `Runtime`, of
         the field to update. For example, to change the software configuration
         kernels, the `update_mask` parameter would be
         specified as `software_config.kernels`,
         and the `PATCH` request body would specify the new value, as follows:
        
             {
               "software_config":{
                 "kernels": [{
                    'repository':
                    'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag':
                    'latest' }],
                 }
             }
        
        
         Currently, only the following fields can be updated:
         - `software_config.kernels`
         - `software_config.post_startup_script`
         - `software_config.custom_gpu_driver_path`
         - `software_config.idle_shutdown`
         - `software_config.idle_shutdown_timeout`
         - `software_config.disable_terminal`
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Required. Specifies the path, relative to `Runtime`, of
         the field to update. For example, to change the software configuration
         kernels, the `update_mask` parameter would be
         specified as `software_config.kernels`,
         and the `PATCH` request body would specify the new value, as follows:
        
             {
               "software_config":{
                 "kernels": [{
                    'repository':
                    'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag':
                    'latest' }],
                 }
             }
        
        
         Currently, only the following fields can be updated:
         - `software_config.kernels`
         - `software_config.post_startup_script`
         - `software_config.custom_gpu_driver_path`
         - `software_config.idle_shutdown`
         - `software_config.idle_shutdown_timeout`
         - `software_config.disable_terminal`
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdateMaskOrBuilder in interface UpdateRuntimeRequestOrBuilder
      • getRequestIdBytes

        public com.google.protobuf.ByteString getRequestIdBytes()
         Idempotent request UUID.
         
        string request_id = 3;
        Specified by:
        getRequestIdBytes in interface UpdateRuntimeRequestOrBuilder
        Returns:
        The bytes for requestId.
      • setRequestId

        public UpdateRuntimeRequest.Builder setRequestId​(String value)
         Idempotent request UUID.
         
        string request_id = 3;
        Parameters:
        value - The requestId to set.
        Returns:
        This builder for chaining.
      • clearRequestId

        public UpdateRuntimeRequest.Builder clearRequestId()
         Idempotent request UUID.
         
        string request_id = 3;
        Returns:
        This builder for chaining.
      • setRequestIdBytes

        public UpdateRuntimeRequest.Builder setRequestIdBytes​(com.google.protobuf.ByteString value)
         Idempotent request UUID.
         
        string request_id = 3;
        Parameters:
        value - The bytes for requestId to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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