Class Environment.InfrastructureSpec.ComputeResources (1.12.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
TypeDescription
int

MAX_NODE_COUNT_FIELD_NUMBER

public static final int MAX_NODE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

NODE_COUNT_FIELD_NUMBER

public static final int NODE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Environment.InfrastructureSpec.ComputeResources getDefaultInstance()
Returns
TypeDescription
Environment.InfrastructureSpec.ComputeResources

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Environment.InfrastructureSpec.ComputeResources.Builder newBuilder()
Returns
TypeDescription
Environment.InfrastructureSpec.ComputeResources.Builder

newBuilder(Environment.InfrastructureSpec.ComputeResources prototype)

public static Environment.InfrastructureSpec.ComputeResources.Builder newBuilder(Environment.InfrastructureSpec.ComputeResources prototype)
Parameter
NameDescription
prototypeEnvironment.InfrastructureSpec.ComputeResources
Returns
TypeDescription
Environment.InfrastructureSpec.ComputeResources.Builder

parseDelimitedFrom(InputStream input)

public static Environment.InfrastructureSpec.ComputeResources parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Environment.InfrastructureSpec.ComputeResources
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Environment.InfrastructureSpec.ComputeResources parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Environment.InfrastructureSpec.ComputeResources
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Environment.InfrastructureSpec.ComputeResources
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Environment.InfrastructureSpec.ComputeResources
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Environment.InfrastructureSpec.ComputeResources
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Environment.InfrastructureSpec.ComputeResources
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Environment.InfrastructureSpec.ComputeResources
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Environment.InfrastructureSpec.ComputeResources
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Environment.InfrastructureSpec.ComputeResources
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Environment.InfrastructureSpec.ComputeResources
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Environment.InfrastructureSpec.ComputeResources
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Environment.InfrastructureSpec.ComputeResources parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Environment.InfrastructureSpec.ComputeResources
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Environment.InfrastructureSpec.ComputeResources getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The nodeCount.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Environment.InfrastructureSpec.ComputeResources.Builder newBuilderForType()
Returns
TypeDescription
Environment.InfrastructureSpec.ComputeResources.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Environment.InfrastructureSpec.ComputeResources.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Environment.InfrastructureSpec.ComputeResources.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Environment.InfrastructureSpec.ComputeResources.Builder toBuilder()
Returns
TypeDescription
Environment.InfrastructureSpec.ComputeResources.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException