Class Environment.Builder (1.50.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Environment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Environment.Builder
Overrides

build()

public Environment build()
Returns
Type Description
Environment

buildPartial()

public Environment buildPartial()
Returns
Type Description
Environment

clear()

public Environment.Builder clear()
Returns
Type Description
Environment.Builder
Overrides

clearCreateTime()

public Environment.Builder clearCreateTime()

Output only. Environment creation time.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Environment.Builder

clearDescription()

public Environment.Builder clearDescription()

Optional. Description of the environment.

string description = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Environment.Builder

This builder for chaining.

clearDisplayName()

public Environment.Builder clearDisplayName()

Optional. User friendly display name.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Environment.Builder

This builder for chaining.

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];

Returns
Type Description
Environment.Builder

clearField(Descriptors.FieldDescriptor field)

public Environment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Environment.Builder
Overrides

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];

Returns
Type Description
Environment.Builder

clearLabels()

public Environment.Builder clearLabels()
Returns
Type Description
Environment.Builder

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
Type Description
Environment.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Environment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Environment.Builder
Overrides

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];

Returns
Type Description
Environment.Builder

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];

Returns
Type Description
Environment.Builder

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
Type Description
Environment.Builder

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
Type Description
Environment.Builder

This builder for chaining.

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];

Returns
Type Description
Environment.Builder

clone()

public Environment.Builder clone()
Returns
Type Description
Environment.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Optional. User defined labels for the environment.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public Timestamp getCreateTime()

Output only. Environment creation time.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Environment creation time.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Environment creation time.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Environment getDefaultInstanceForType()
Returns
Type Description
Environment

getDescription()

public String getDescription()

Optional. Description of the environment.

string description = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Description of the environment.

string description = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Optional. User friendly display name.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. User friendly display name.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

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];

Returns
Type Description
Environment.Endpoints

The endpoints.

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];

Returns
Type Description
Environment.Endpoints.Builder

getEndpointsOrBuilder()

public Environment.EndpointsOrBuilder getEndpointsOrBuilder()

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];

Returns
Type Description
Environment.EndpointsOrBuilder

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];

Returns
Type Description
Environment.InfrastructureSpec

The infrastructureSpec.

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];

Returns
Type Description
Environment.InfrastructureSpec.Builder

getInfrastructureSpecOrBuilder()

public Environment.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder()

Required. Infrastructure specification for the Environment.

.google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Environment.InfrastructureSpecOrBuilder

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. User defined labels for the environment.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. User defined labels for the environment.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. User defined labels for the environment.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. User defined labels for the environment.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

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) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for name.

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];

Returns
Type Description
Environment.SessionSpec

The sessionSpec.

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];

Returns
Type Description
Environment.SessionSpec.Builder

getSessionSpecOrBuilder()

public Environment.SessionSpecOrBuilder getSessionSpecOrBuilder()

Optional. Configuration for sessions created for this environment.

.google.cloud.dataplex.v1.Environment.SessionSpec session_spec = 101 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Environment.SessionSpecOrBuilder

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];

Returns
Type Description
Environment.SessionStatus

The sessionStatus.

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];

Returns
Type Description
Environment.SessionStatus.Builder

getSessionStatusOrBuilder()

public Environment.SessionStatusOrBuilder getSessionStatusOrBuilder()

Output only. Status of sessions created for this environment.

.google.cloud.dataplex.v1.Environment.SessionStatus session_status = 102 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Environment.SessionStatusOrBuilder

getState()

public State getState()

Output only. Current state of the environment.

.google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
State

The state.

getStateValue()

public int getStateValue()

Output only. Current state of the environment.

.google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

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];

Returns
Type Description
String

The uid.

getUidBytes()

public 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];

Returns
Type Description
ByteString

The bytes for uid.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time when the environment was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public 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];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time when the environment was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Environment creation time.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

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];

Returns
Type Description
boolean

Whether the endpoints field is set.

hasInfrastructureSpec()

public boolean hasInfrastructureSpec()

Required. Infrastructure specification for the Environment.

.google.cloud.dataplex.v1.Environment.InfrastructureSpec infrastructure_spec = 100 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the infrastructureSpec field is set.

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];

Returns
Type Description
boolean

Whether the sessionSpec field is set.

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];

Returns
Type Description
boolean

Whether the sessionStatus field is set.

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];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Environment.Builder mergeCreateTime(Timestamp value)

Output only. Environment creation time.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Environment.Builder

mergeEndpoints(Environment.Endpoints value)

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];

Parameter
Name Description
value Environment.Endpoints
Returns
Type Description
Environment.Builder

mergeFrom(Environment other)

public Environment.Builder mergeFrom(Environment other)
Parameter
Name Description
other Environment
Returns
Type Description
Environment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Environment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Environment.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Environment.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Environment.Builder
Overrides

mergeInfrastructureSpec(Environment.InfrastructureSpec value)

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];

Parameter
Name Description
value Environment.InfrastructureSpec
Returns
Type Description
Environment.Builder

mergeSessionSpec(Environment.SessionSpec value)

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];

Parameter
Name Description
value Environment.SessionSpec
Returns
Type Description
Environment.Builder

mergeSessionStatus(Environment.SessionStatus value)

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];

Parameter
Name Description
value Environment.SessionStatus
Returns
Type Description
Environment.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Environment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Environment.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Environment.Builder mergeUpdateTime(Timestamp value)

Output only. The time when the environment was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Environment.Builder

putAllLabels(Map<String,String> values)

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];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
Environment.Builder

putLabels(String key, String value)

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];

Parameters
Name Description
key String
value String
Returns
Type Description
Environment.Builder

removeLabels(String key)

public Environment.Builder removeLabels(String key)

Optional. User defined labels for the environment.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
Environment.Builder

setCreateTime(Timestamp value)

public Environment.Builder setCreateTime(Timestamp value)

Output only. Environment creation time.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Environment.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Environment.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Environment creation time.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Environment.Builder

setDescription(String value)

public Environment.Builder setDescription(String value)

Optional. Description of the environment.

string description = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Environment.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Environment.Builder setDescriptionBytes(ByteString value)

Optional. Description of the environment.

string description = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Environment.Builder

This builder for chaining.

setDisplayName(String value)

public Environment.Builder setDisplayName(String value)

Optional. User friendly display name.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Environment.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Environment.Builder setDisplayNameBytes(ByteString value)

Optional. User friendly display name.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Environment.Builder

This builder for chaining.

setEndpoints(Environment.Endpoints value)

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];

Parameter
Name Description
value Environment.Endpoints
Returns
Type Description
Environment.Builder

setEndpoints(Environment.Endpoints.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Environment.Endpoints.Builder
Returns
Type Description
Environment.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Environment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Environment.Builder
Overrides

setInfrastructureSpec(Environment.InfrastructureSpec value)

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];

Parameter
Name Description
value Environment.InfrastructureSpec
Returns
Type Description
Environment.Builder

setInfrastructureSpec(Environment.InfrastructureSpec.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Environment.InfrastructureSpec.Builder
Returns
Type Description
Environment.Builder

setName(String value)

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) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Environment.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Environment.Builder setNameBytes(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) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Environment.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Environment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Environment.Builder
Overrides

setSessionSpec(Environment.SessionSpec value)

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];

Parameter
Name Description
value Environment.SessionSpec
Returns
Type Description
Environment.Builder

setSessionSpec(Environment.SessionSpec.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Environment.SessionSpec.Builder
Returns
Type Description
Environment.Builder

setSessionStatus(Environment.SessionStatus value)

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];

Parameter
Name Description
value Environment.SessionStatus
Returns
Type Description
Environment.Builder

setSessionStatus(Environment.SessionStatus.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Environment.SessionStatus.Builder
Returns
Type Description
Environment.Builder

setState(State value)

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];

Parameter
Name Description
value State

The state to set.

Returns
Type Description
Environment.Builder

This builder for chaining.

setStateValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Environment.Builder

This builder for chaining.

setUid(String value)

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];

Parameter
Name Description
value String

The uid to set.

Returns
Type Description
Environment.Builder

This builder for chaining.

setUidBytes(ByteString value)

public Environment.Builder setUidBytes(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];

Parameter
Name Description
value ByteString

The bytes for uid to set.

Returns
Type Description
Environment.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Environment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Environment.Builder
Overrides

setUpdateTime(Timestamp value)

public Environment.Builder setUpdateTime(Timestamp value)

Output only. The time when the environment was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Environment.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Environment.Builder setUpdateTime(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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Environment.Builder