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

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

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

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

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

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

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

        public CreateEnvironmentRequest.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<CreateEnvironmentRequest.Builder>
        Throws:
        IOException
      • getParent

        public String getParent()
         Required. Format: `projects/{project_id}/locations/{location}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getParent in interface CreateEnvironmentRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. Format: `projects/{project_id}/locations/{location}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getParentBytes in interface CreateEnvironmentRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateEnvironmentRequest.Builder setParent​(String value)
         Required. Format: `projects/{project_id}/locations/{location}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public CreateEnvironmentRequest.Builder clearParent()
         Required. Format: `projects/{project_id}/locations/{location}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateEnvironmentRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. Format: `projects/{project_id}/locations/{location}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • getEnvironmentId

        public String getEnvironmentId()
         Required. User-defined unique ID of this environment. The `environment_id` must
         be 1 to 63 characters long and contain only lowercase letters,
         numeric characters, and dashes. The first character must be a lowercase
         letter and the last character cannot be a dash.
         
        string environment_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEnvironmentId in interface CreateEnvironmentRequestOrBuilder
        Returns:
        The environmentId.
      • getEnvironmentIdBytes

        public com.google.protobuf.ByteString getEnvironmentIdBytes()
         Required. User-defined unique ID of this environment. The `environment_id` must
         be 1 to 63 characters long and contain only lowercase letters,
         numeric characters, and dashes. The first character must be a lowercase
         letter and the last character cannot be a dash.
         
        string environment_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEnvironmentIdBytes in interface CreateEnvironmentRequestOrBuilder
        Returns:
        The bytes for environmentId.
      • setEnvironmentId

        public CreateEnvironmentRequest.Builder setEnvironmentId​(String value)
         Required. User-defined unique ID of this environment. The `environment_id` must
         be 1 to 63 characters long and contain only lowercase letters,
         numeric characters, and dashes. The first character must be a lowercase
         letter and the last character cannot be a dash.
         
        string environment_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The environmentId to set.
        Returns:
        This builder for chaining.
      • clearEnvironmentId

        public CreateEnvironmentRequest.Builder clearEnvironmentId()
         Required. User-defined unique ID of this environment. The `environment_id` must
         be 1 to 63 characters long and contain only lowercase letters,
         numeric characters, and dashes. The first character must be a lowercase
         letter and the last character cannot be a dash.
         
        string environment_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setEnvironmentIdBytes

        public CreateEnvironmentRequest.Builder setEnvironmentIdBytes​(com.google.protobuf.ByteString value)
         Required. User-defined unique ID of this environment. The `environment_id` must
         be 1 to 63 characters long and contain only lowercase letters,
         numeric characters, and dashes. The first character must be a lowercase
         letter and the last character cannot be a dash.
         
        string environment_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for environmentId to set.
        Returns:
        This builder for chaining.
      • hasEnvironment

        public boolean hasEnvironment()
         Required. The environment to be created.
         
        .google.cloud.notebooks.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasEnvironment in interface CreateEnvironmentRequestOrBuilder
        Returns:
        Whether the environment field is set.
      • getEnvironment

        public Environment getEnvironment()
         Required. The environment to be created.
         
        .google.cloud.notebooks.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEnvironment in interface CreateEnvironmentRequestOrBuilder
        Returns:
        The environment.
      • setEnvironment

        public CreateEnvironmentRequest.Builder setEnvironment​(Environment value)
         Required. The environment to be created.
         
        .google.cloud.notebooks.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED];
      • mergeEnvironment

        public CreateEnvironmentRequest.Builder mergeEnvironment​(Environment value)
         Required. The environment to be created.
         
        .google.cloud.notebooks.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED];
      • clearEnvironment

        public CreateEnvironmentRequest.Builder clearEnvironment()
         Required. The environment to be created.
         
        .google.cloud.notebooks.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED];
      • getEnvironmentBuilder

        public Environment.Builder getEnvironmentBuilder()
         Required. The environment to be created.
         
        .google.cloud.notebooks.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED];
      • setUnknownFields

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

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