Class Environment.Builder

  • All Implemented Interfaces:
    EnvironmentOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Environment

    public static final class Environment.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
    implements EnvironmentOrBuilder
     Environment represents a user-visible compute infrastructure for analytics
     within a lake.
     
    Protobuf type google.cloud.dataplex.v1.Environment
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

        public Environment.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<Environment.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Output only. The relative resource name of the environment, of the form:
         projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface EnvironmentOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The relative resource name of the environment, of the form:
         projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface EnvironmentOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Environment.Builder setName​(String value)
         Output only. The relative resource name of the environment, of the form:
         projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Environment.Builder clearName()
         Output only. The relative resource name of the environment, of the form:
         projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public Environment.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. The relative resource name of the environment, of the form:
         projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getDisplayName

        public String getDisplayName()
         Optional. User friendly display name.
         
        string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDisplayName in interface EnvironmentOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         Optional. User friendly display name.
         
        string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDisplayNameBytes in interface EnvironmentOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

        public Environment.Builder setDisplayName​(String value)
         Optional. User friendly display name.
         
        string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public Environment.Builder clearDisplayName()
         Optional. User friendly display name.
         
        string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public Environment.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         Optional. User friendly display name.
         
        string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • getUid

        public String getUid()
         Output only. System generated globally unique ID for the environment. This
         ID will be different if the environment is deleted and re-created with the
         same name.
         
        string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUid in interface EnvironmentOrBuilder
        Returns:
        The uid.
      • getUidBytes

        public com.google.protobuf.ByteString getUidBytes()
         Output only. System generated globally unique ID for the environment. This
         ID will be different if the environment is deleted and re-created with the
         same name.
         
        string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUidBytes in interface EnvironmentOrBuilder
        Returns:
        The bytes for uid.
      • setUid

        public Environment.Builder setUid​(String value)
         Output only. System generated globally unique ID for the environment. This
         ID will be different if the environment is deleted and re-created with the
         same name.
         
        string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The uid to set.
        Returns:
        This builder for chaining.
      • clearUid

        public Environment.Builder clearUid()
         Output only. System generated globally unique ID for the environment. This
         ID will be different if the environment is deleted and re-created with the
         same name.
         
        string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setUidBytes

        public Environment.Builder setUidBytes​(com.google.protobuf.ByteString value)
         Output only. System generated globally unique ID for the environment. This
         ID will be different if the environment is deleted and re-created with the
         same name.
         
        string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for uid to set.
        Returns:
        This builder for chaining.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. Environment creation time.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface EnvironmentOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. Environment creation time.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface EnvironmentOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public Environment.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Environment creation time.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public Environment.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Environment creation time.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public Environment.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Environment creation time.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public Environment.Builder clearCreateTime()
         Output only. Environment creation time.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. Environment creation time.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Environment creation time.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface EnvironmentOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. The time when the environment was last updated.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface EnvironmentOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. The time when the environment was last updated.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface EnvironmentOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public Environment.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The time when the environment was last updated.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public Environment.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The time when the environment was last updated.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public Environment.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The time when the environment was last updated.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public Environment.Builder clearUpdateTime()
         Output only. The time when the environment was last updated.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. The time when the environment was last updated.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The time when the environment was last updated.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface EnvironmentOrBuilder
      • getLabelsCount

        public int getLabelsCount()
        Description copied from interface: EnvironmentOrBuilder
         Optional. User defined labels for the environment.
         
        map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsCount in interface EnvironmentOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         Optional. User defined labels for the environment.
         
        map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        containsLabels in interface EnvironmentOrBuilder
      • getLabelsMap

        public Map<String,​String> getLabelsMap()
         Optional. User defined labels for the environment.
         
        map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsMap in interface EnvironmentOrBuilder
      • getLabelsOrDefault

        public String getLabelsOrDefault​(String key,
                                         String defaultValue)
         Optional. User defined labels for the environment.
         
        map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsOrDefault in interface EnvironmentOrBuilder
      • getLabelsOrThrow

        public String getLabelsOrThrow​(String key)
         Optional. User defined labels for the environment.
         
        map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLabelsOrThrow in interface EnvironmentOrBuilder
      • removeLabels

        public Environment.Builder removeLabels​(String key)
         Optional. User defined labels for the environment.
         
        map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putLabels

        public Environment.Builder putLabels​(String key,
                                             String value)
         Optional. User defined labels for the environment.
         
        map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      • putAllLabels

        public Environment.Builder putAllLabels​(Map<String,​String> values)
         Optional. User defined labels for the environment.
         
        map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      • getDescription

        public String getDescription()
         Optional. Description of the environment.
         
        string description = 7 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDescription in interface EnvironmentOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Optional. Description of the environment.
         
        string description = 7 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDescriptionBytes in interface EnvironmentOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public Environment.Builder setDescription​(String value)
         Optional. Description of the environment.
         
        string description = 7 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public Environment.Builder clearDescription()
         Optional. Description of the environment.
         
        string description = 7 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public Environment.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         Optional. Description of the environment.
         
        string description = 7 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • getStateValue

        public int getStateValue()
         Output only. Current state of the environment.
         
        .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface EnvironmentOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public Environment.Builder setStateValue​(int value)
         Output only. Current state of the environment.
         
        .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • getState

        public State getState()
         Output only. Current state of the environment.
         
        .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface EnvironmentOrBuilder
        Returns:
        The state.
      • setState

        public Environment.Builder setState​(State value)
         Output only. Current state of the environment.
         
        .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public Environment.Builder clearState()
         Output only. Current state of the environment.
         
        .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasInfrastructureSpec

        public boolean hasInfrastructureSpec()
         Required. Infrastructure specification for the Environment.
         
        .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasInfrastructureSpec in interface EnvironmentOrBuilder
        Returns:
        Whether the infrastructureSpec field is set.
      • getInfrastructureSpec

        public Environment.InfrastructureSpec getInfrastructureSpec()
         Required. Infrastructure specification for the Environment.
         
        .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getInfrastructureSpec in interface EnvironmentOrBuilder
        Returns:
        The infrastructureSpec.
      • setInfrastructureSpec

        public Environment.Builder setInfrastructureSpec​(Environment.InfrastructureSpec value)
         Required. Infrastructure specification for the Environment.
         
        .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED];
      • setInfrastructureSpec

        public Environment.Builder setInfrastructureSpec​(Environment.InfrastructureSpec.Builder builderForValue)
         Required. Infrastructure specification for the Environment.
         
        .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED];
      • mergeInfrastructureSpec

        public Environment.Builder mergeInfrastructureSpec​(Environment.InfrastructureSpec value)
         Required. Infrastructure specification for the Environment.
         
        .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED];
      • clearInfrastructureSpec

        public Environment.Builder clearInfrastructureSpec()
         Required. Infrastructure specification for the Environment.
         
        .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED];
      • getInfrastructureSpecBuilder

        public Environment.InfrastructureSpec.Builder getInfrastructureSpecBuilder()
         Required. Infrastructure specification for the Environment.
         
        .google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED];
      • hasSessionSpec

        public boolean hasSessionSpec()
         Optional. Configuration for sessions created for this environment.
         
        .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasSessionSpec in interface EnvironmentOrBuilder
        Returns:
        Whether the sessionSpec field is set.
      • getSessionSpec

        public Environment.SessionSpec getSessionSpec()
         Optional. Configuration for sessions created for this environment.
         
        .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getSessionSpec in interface EnvironmentOrBuilder
        Returns:
        The sessionSpec.
      • setSessionSpec

        public Environment.Builder setSessionSpec​(Environment.SessionSpec value)
         Optional. Configuration for sessions created for this environment.
         
        .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL];
      • setSessionSpec

        public Environment.Builder setSessionSpec​(Environment.SessionSpec.Builder builderForValue)
         Optional. Configuration for sessions created for this environment.
         
        .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL];
      • mergeSessionSpec

        public Environment.Builder mergeSessionSpec​(Environment.SessionSpec value)
         Optional. Configuration for sessions created for this environment.
         
        .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL];
      • clearSessionSpec

        public Environment.Builder clearSessionSpec()
         Optional. Configuration for sessions created for this environment.
         
        .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL];
      • getSessionSpecBuilder

        public Environment.SessionSpec.Builder getSessionSpecBuilder()
         Optional. Configuration for sessions created for this environment.
         
        .google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL];
      • hasSessionStatus

        public boolean hasSessionStatus()
         Output only. Status of sessions created for this environment.
         
        .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasSessionStatus in interface EnvironmentOrBuilder
        Returns:
        Whether the sessionStatus field is set.
      • getSessionStatus

        public Environment.SessionStatus getSessionStatus()
         Output only. Status of sessions created for this environment.
         
        .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSessionStatus in interface EnvironmentOrBuilder
        Returns:
        The sessionStatus.
      • setSessionStatus

        public Environment.Builder setSessionStatus​(Environment.SessionStatus value)
         Output only. Status of sessions created for this environment.
         
        .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setSessionStatus

        public Environment.Builder setSessionStatus​(Environment.SessionStatus.Builder builderForValue)
         Output only. Status of sessions created for this environment.
         
        .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeSessionStatus

        public Environment.Builder mergeSessionStatus​(Environment.SessionStatus value)
         Output only. Status of sessions created for this environment.
         
        .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearSessionStatus

        public Environment.Builder clearSessionStatus()
         Output only. Status of sessions created for this environment.
         
        .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getSessionStatusBuilder

        public Environment.SessionStatus.Builder getSessionStatusBuilder()
         Output only. Status of sessions created for this environment.
         
        .google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasEndpoints

        public boolean hasEndpoints()
         Output only. URI Endpoints to access sessions associated with the
         Environment.
         
        .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasEndpoints in interface EnvironmentOrBuilder
        Returns:
        Whether the endpoints field is set.
      • getEndpoints

        public Environment.Endpoints getEndpoints()
         Output only. URI Endpoints to access sessions associated with the
         Environment.
         
        .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEndpoints in interface EnvironmentOrBuilder
        Returns:
        The endpoints.
      • setEndpoints

        public Environment.Builder setEndpoints​(Environment.Endpoints value)
         Output only. URI Endpoints to access sessions associated with the
         Environment.
         
        .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setEndpoints

        public Environment.Builder setEndpoints​(Environment.Endpoints.Builder builderForValue)
         Output only. URI Endpoints to access sessions associated with the
         Environment.
         
        .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeEndpoints

        public Environment.Builder mergeEndpoints​(Environment.Endpoints value)
         Output only. URI Endpoints to access sessions associated with the
         Environment.
         
        .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearEndpoints

        public Environment.Builder clearEndpoints()
         Output only. URI Endpoints to access sessions associated with the
         Environment.
         
        .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getEndpointsBuilder

        public Environment.Endpoints.Builder getEndpointsBuilder()
         Output only. URI Endpoints to access sessions associated with the
         Environment.
         
        .google.cloud.dataplex.v1.Environment.Endpoints endpoints = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUnknownFields

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

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