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. The resource name of the parent lake:
         `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface CreateEnvironmentRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The resource name of the parent lake:
         `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface CreateEnvironmentRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateEnvironmentRequest.Builder setParent​(String value)
         Required. The resource name of the parent lake:
         `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public CreateEnvironmentRequest.Builder clearParent()
         Required. The resource name of the parent lake:
         `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateEnvironmentRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The resource name of the parent lake:
         `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • getEnvironmentId

        public String getEnvironmentId()
         Required. Environment identifier.
         * Must contain only lowercase letters, numbers and hyphens.
         * Must start with a letter.
         * Must be between 1-63 characters.
         * Must end with a number or a letter.
         * Must be unique within the lake.
         
        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. Environment identifier.
         * Must contain only lowercase letters, numbers and hyphens.
         * Must start with a letter.
         * Must be between 1-63 characters.
         * Must end with a number or a letter.
         * Must be unique within the lake.
         
        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. Environment identifier.
         * Must contain only lowercase letters, numbers and hyphens.
         * Must start with a letter.
         * Must be between 1-63 characters.
         * Must end with a number or a letter.
         * Must be unique within the lake.
         
        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. Environment identifier.
         * Must contain only lowercase letters, numbers and hyphens.
         * Must start with a letter.
         * Must be between 1-63 characters.
         * Must end with a number or a letter.
         * Must be unique within the lake.
         
        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. Environment identifier.
         * Must contain only lowercase letters, numbers and hyphens.
         * Must start with a letter.
         * Must be between 1-63 characters.
         * Must end with a number or a letter.
         * Must be unique within the lake.
         
        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. Environment resource.
         
        .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasEnvironment in interface CreateEnvironmentRequestOrBuilder
        Returns:
        Whether the environment field is set.
      • setEnvironment

        public CreateEnvironmentRequest.Builder setEnvironment​(Environment value)
         Required. Environment resource.
         
        .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED];
      • mergeEnvironment

        public CreateEnvironmentRequest.Builder mergeEnvironment​(Environment value)
         Required. Environment resource.
         
        .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED];
      • clearEnvironment

        public CreateEnvironmentRequest.Builder clearEnvironment()
         Required. Environment resource.
         
        .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED];
      • getEnvironmentBuilder

        public Environment.Builder getEnvironmentBuilder()
         Required. Environment resource.
         
        .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED];
      • getValidateOnly

        public boolean getValidateOnly()
         Optional. Only validate the request, but do not perform mutations.
         The default is false.
         
        bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getValidateOnly in interface CreateEnvironmentRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

        public CreateEnvironmentRequest.Builder setValidateOnly​(boolean value)
         Optional. Only validate the request, but do not perform mutations.
         The default is false.
         
        bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The validateOnly to set.
        Returns:
        This builder for chaining.
      • clearValidateOnly

        public CreateEnvironmentRequest.Builder clearValidateOnly()
         Optional. Only validate the request, but do not perform mutations.
         The default is false.
         
        bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • 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>