Class Environment.InfrastructureSpec.Builder (0.2.2)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Environment.InfrastructureSpec build()
Returns
TypeDescription
Environment.InfrastructureSpec

buildPartial()

public Environment.InfrastructureSpec buildPartial()
Returns
TypeDescription
Environment.InfrastructureSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

public Environment.InfrastructureSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Environment.InfrastructureSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResources()

public Environment.InfrastructureSpec.Builder clearResources()
Returns
TypeDescription
Environment.InfrastructureSpec.Builder

clearRuntime()

public Environment.InfrastructureSpec.Builder clearRuntime()
Returns
TypeDescription
Environment.InfrastructureSpec.Builder

clone()

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

getDefaultInstanceForType()

public Environment.InfrastructureSpec getDefaultInstanceForType()
Returns
TypeDescription
Environment.InfrastructureSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Environment.InfrastructureSpec.OsImageRuntimeOrBuilder

getResourcesCase()

public Environment.InfrastructureSpec.ResourcesCase getResourcesCase()
Returns
TypeDescription
Environment.InfrastructureSpec.ResourcesCase

getRuntimeCase()

public Environment.InfrastructureSpec.RuntimeCase getRuntimeCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the osImage field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

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

mergeFrom(Environment.InfrastructureSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Environment.InfrastructureSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueEnvironment.InfrastructureSpec.ComputeResources
Returns
TypeDescription
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
NameDescription
builderForValueEnvironment.InfrastructureSpec.ComputeResources.Builder
Returns
TypeDescription
Environment.InfrastructureSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public Environment.InfrastructureSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Environment.InfrastructureSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Environment.InfrastructureSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Environment.InfrastructureSpec.Builder
Overrides