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

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

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

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

        public IsInstanceUpgradeableRequest.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<IsInstanceUpgradeableRequest.Builder>
        Throws:
        IOException
      • getNotebookInstance

        public String getNotebookInstance()
         Required. Format:
         `projects/{project_id}/locations/{location}/instances/{instance_id}`
         
        string notebook_instance = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNotebookInstance in interface IsInstanceUpgradeableRequestOrBuilder
        Returns:
        The notebookInstance.
      • getNotebookInstanceBytes

        public com.google.protobuf.ByteString getNotebookInstanceBytes()
         Required. Format:
         `projects/{project_id}/locations/{location}/instances/{instance_id}`
         
        string notebook_instance = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNotebookInstanceBytes in interface IsInstanceUpgradeableRequestOrBuilder
        Returns:
        The bytes for notebookInstance.
      • setNotebookInstance

        public IsInstanceUpgradeableRequest.Builder setNotebookInstance​(String value)
         Required. Format:
         `projects/{project_id}/locations/{location}/instances/{instance_id}`
         
        string notebook_instance = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The notebookInstance to set.
        Returns:
        This builder for chaining.
      • clearNotebookInstance

        public IsInstanceUpgradeableRequest.Builder clearNotebookInstance()
         Required. Format:
         `projects/{project_id}/locations/{location}/instances/{instance_id}`
         
        string notebook_instance = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setNotebookInstanceBytes

        public IsInstanceUpgradeableRequest.Builder setNotebookInstanceBytes​(com.google.protobuf.ByteString value)
         Required. Format:
         `projects/{project_id}/locations/{location}/instances/{instance_id}`
         
        string notebook_instance = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for notebookInstance to set.
        Returns:
        This builder for chaining.