Class Environment.InfrastructureSpec.ComputeResources (1.43.0)

public static final class Environment.InfrastructureSpec.ComputeResources extends GeneratedMessageV3 implements Environment.InfrastructureSpec.ComputeResourcesOrBuilder

Compute resources associated with the analyze interactive workloads.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Environment.InfrastructureSpec.ComputeResources

Static Fields

DISK_SIZE_GB_FIELD_NUMBER

public static final int DISK_SIZE_GB_FIELD_NUMBER
Field Value
Type Description
int

MAX_NODE_COUNT_FIELD_NUMBER

public static final int MAX_NODE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

NODE_COUNT_FIELD_NUMBER

public static final int NODE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Environment.InfrastructureSpec.ComputeResources getDefaultInstance()
Returns
Type Description
Environment.InfrastructureSpec.ComputeResources

getDescriptor()

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

newBuilder()

public static Environment.InfrastructureSpec.ComputeResources.Builder newBuilder()
Returns
Type Description
Environment.InfrastructureSpec.ComputeResources.Builder

newBuilder(Environment.InfrastructureSpec.ComputeResources prototype)

public static Environment.InfrastructureSpec.ComputeResources.Builder newBuilder(Environment.InfrastructureSpec.ComputeResources prototype)
Parameter
Name Description
prototype Environment.InfrastructureSpec.ComputeResources
Returns
Type Description
Environment.InfrastructureSpec.ComputeResources.Builder

parseDelimitedFrom(InputStream input)

public static Environment.InfrastructureSpec.ComputeResources parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Environment.InfrastructureSpec.ComputeResources
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Environment.InfrastructureSpec.ComputeResources parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Environment.InfrastructureSpec.ComputeResources
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Environment.InfrastructureSpec.ComputeResources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Environment.InfrastructureSpec.ComputeResources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Environment.InfrastructureSpec.ComputeResources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Environment.InfrastructureSpec.ComputeResources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Environment.InfrastructureSpec.ComputeResources
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Environment.InfrastructureSpec.ComputeResources
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Environment.InfrastructureSpec.ComputeResources
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Environment.InfrastructureSpec.ComputeResources
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Environment.InfrastructureSpec.ComputeResources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Environment.InfrastructureSpec.ComputeResources
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Environment.InfrastructureSpec.ComputeResources> parser()
Returns
Type Description
Parser<ComputeResources>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getDiskSizeGb()

public int getDiskSizeGb()

Optional. Size in GB of the disk. Default is 100 GB.

int32 disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The diskSizeGb.

getMaxNodeCount()

public int getMaxNodeCount()

Optional. Max configurable nodes. If max_node_count > node_count, then auto-scaling is enabled.

int32 max_node_count = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The maxNodeCount.

getNodeCount()

public int getNodeCount()

Optional. Total number of nodes in the sessions created for this environment.

int32 node_count = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The nodeCount.

getParserForType()

public Parser<Environment.InfrastructureSpec.ComputeResources> getParserForType()
Returns
Type Description
Parser<ComputeResources>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Environment.InfrastructureSpec.ComputeResources.Builder newBuilderForType()
Returns
Type Description
Environment.InfrastructureSpec.ComputeResources.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Environment.InfrastructureSpec.ComputeResources.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Environment.InfrastructureSpec.ComputeResources.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Environment.InfrastructureSpec.ComputeResources.Builder toBuilder()
Returns
Type Description
Environment.InfrastructureSpec.ComputeResources.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException