Class Environment.InfrastructureSpec.Builder (1.45.0)

public static final class Environment.InfrastructureSpec.Builder extends GeneratedMessageV3.Builder<Environment.InfrastructureSpec.Builder> implements Environment.InfrastructureSpecOrBuilder

Configuration for the underlying infrastructure used to run workloads.

Protobuf type google.cloud.dataplex.v1.Environment.InfrastructureSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Environment.InfrastructureSpec build()
Returns
Type Description
Environment.InfrastructureSpec

buildPartial()

public Environment.InfrastructureSpec buildPartial()
Returns
Type Description
Environment.InfrastructureSpec

clear()

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

clearCompute()

public Environment.InfrastructureSpec.Builder clearCompute()

Optional. Compute resources needed for analyze interactive workloads.

.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Environment.InfrastructureSpec.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOsImage()

public Environment.InfrastructureSpec.Builder clearOsImage()

Required. Software Runtime Configuration for analyze interactive workloads.

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

Returns
Type Description
Environment.InfrastructureSpec.Builder

clearResources()

public Environment.InfrastructureSpec.Builder clearResources()
Returns
Type Description
Environment.InfrastructureSpec.Builder

clearRuntime()

public Environment.InfrastructureSpec.Builder clearRuntime()
Returns
Type Description
Environment.InfrastructureSpec.Builder

clone()

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

getCompute()

public Environment.InfrastructureSpec.ComputeResources getCompute()

Optional. Compute resources needed for analyze interactive workloads.

.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Environment.InfrastructureSpec.ComputeResources

The compute.

getComputeBuilder()

public Environment.InfrastructureSpec.ComputeResources.Builder getComputeBuilder()

Optional. Compute resources needed for analyze interactive workloads.

.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Environment.InfrastructureSpec.ComputeResources.Builder

getComputeOrBuilder()

public Environment.InfrastructureSpec.ComputeResourcesOrBuilder getComputeOrBuilder()

Optional. Compute resources needed for analyze interactive workloads.

.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Environment.InfrastructureSpec.ComputeResourcesOrBuilder

getDefaultInstanceForType()

public Environment.InfrastructureSpec getDefaultInstanceForType()
Returns
Type Description
Environment.InfrastructureSpec

getDescriptorForType()

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

getOsImage()

public Environment.InfrastructureSpec.OsImageRuntime getOsImage()

Required. Software Runtime Configuration for analyze interactive workloads.

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

Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime

The osImage.

getOsImageBuilder()

public Environment.InfrastructureSpec.OsImageRuntime.Builder getOsImageBuilder()

Required. Software Runtime Configuration for analyze interactive workloads.

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

Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime.Builder

getOsImageOrBuilder()

public Environment.InfrastructureSpec.OsImageRuntimeOrBuilder getOsImageOrBuilder()

Required. Software Runtime Configuration for analyze interactive workloads.

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

Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntimeOrBuilder

getResourcesCase()

public Environment.InfrastructureSpec.ResourcesCase getResourcesCase()
Returns
Type Description
Environment.InfrastructureSpec.ResourcesCase

getRuntimeCase()

public Environment.InfrastructureSpec.RuntimeCase getRuntimeCase()
Returns
Type Description
Environment.InfrastructureSpec.RuntimeCase

hasCompute()

public boolean hasCompute()

Optional. Compute resources needed for analyze interactive workloads.

.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the compute field is set.

hasOsImage()

public boolean hasOsImage()

Required. Software Runtime Configuration for analyze interactive workloads.

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

Returns
Type Description
boolean

Whether the osImage field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCompute(Environment.InfrastructureSpec.ComputeResources value)

public Environment.InfrastructureSpec.Builder mergeCompute(Environment.InfrastructureSpec.ComputeResources value)

Optional. Compute resources needed for analyze interactive workloads.

.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL];

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

mergeFrom(Environment.InfrastructureSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOsImage(Environment.InfrastructureSpec.OsImageRuntime value)

public Environment.InfrastructureSpec.Builder mergeOsImage(Environment.InfrastructureSpec.OsImageRuntime value)

Required. Software Runtime Configuration for analyze interactive workloads.

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCompute(Environment.InfrastructureSpec.ComputeResources value)

public Environment.InfrastructureSpec.Builder setCompute(Environment.InfrastructureSpec.ComputeResources value)

Optional. Compute resources needed for analyze interactive workloads.

.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL];

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

setCompute(Environment.InfrastructureSpec.ComputeResources.Builder builderForValue)

public Environment.InfrastructureSpec.Builder setCompute(Environment.InfrastructureSpec.ComputeResources.Builder builderForValue)

Optional. Compute resources needed for analyze interactive workloads.

.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources compute = 50 [(.google.api.field_behavior) = OPTIONAL];

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOsImage(Environment.InfrastructureSpec.OsImageRuntime value)

public Environment.InfrastructureSpec.Builder setOsImage(Environment.InfrastructureSpec.OsImageRuntime value)

Required. Software Runtime Configuration for analyze interactive workloads.

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

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

setOsImage(Environment.InfrastructureSpec.OsImageRuntime.Builder builderForValue)

public Environment.InfrastructureSpec.Builder setOsImage(Environment.InfrastructureSpec.OsImageRuntime.Builder builderForValue)

Required. Software Runtime Configuration for analyze interactive workloads.

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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