Class Environment.Builder (1.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Environment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Environment.Builder
Overrides

build()

public Environment build()
Returns
TypeDescription
Environment

buildPartial()

public Environment buildPartial()
Returns
TypeDescription
Environment

clear()

public Environment.Builder clear()
Returns
TypeDescription
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
TypeDescription
Environment.Builder

clearDescription()

public Environment.Builder clearDescription()

Optional. Description of the environment.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Environment.Builder

clearField(Descriptors.FieldDescriptor field)

public Environment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Environment.Builder

clearLabels()

public Environment.Builder clearLabels()
Returns
TypeDescription
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
TypeDescription
Environment.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Environment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Environment.Builder

clone()

public Environment.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

getCreateTime()

public Timestamp getCreateTime()

Output only. Environment creation time.

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

Returns
TypeDescription
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
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Environment creation time.

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

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Environment getDefaultInstanceForType()
Returns
TypeDescription
Environment

getDescription()

public String getDescription()

Optional. Description of the environment.

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

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Description of the environment.

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

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Optional. User friendly display name.

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

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. User friendly display name.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Environment.InfrastructureSpecOrBuilder

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Environment creation time.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueEnvironment.Endpoints
Returns
TypeDescription
Environment.Builder

mergeFrom(Environment other)

public Environment.Builder mergeFrom(Environment other)
Parameter
NameDescription
otherEnvironment
Returns
TypeDescription
Environment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Environment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Environment.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Environment.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueEnvironment.InfrastructureSpec
Returns
TypeDescription
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
NameDescription
valueEnvironment.SessionSpec
Returns
TypeDescription
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
NameDescription
valueEnvironment.SessionStatus
Returns
TypeDescription
Environment.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Environment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
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
NameDescription
valueEnvironment.Endpoints
Returns
TypeDescription
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
NameDescription
builderForValueEnvironment.Endpoints.Builder
Returns
TypeDescription
Environment.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Environment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueEnvironment.InfrastructureSpec
Returns
TypeDescription
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
NameDescription
builderForValueEnvironment.InfrastructureSpec.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueEnvironment.SessionSpec
Returns
TypeDescription
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
NameDescription
builderForValueEnvironment.SessionSpec.Builder
Returns
TypeDescription
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
NameDescription
valueEnvironment.SessionStatus
Returns
TypeDescription
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
NameDescription
builderForValueEnvironment.SessionStatus.Builder
Returns
TypeDescription
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
NameDescription
valueState

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The uid to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for uid to set.

Returns
TypeDescription
Environment.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Environment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Environment.Builder