Class NetworkResourceConfig (0.1.0)

publicfinalclass NetworkResourceConfigextendsGeneratedMessageV3implementsNetworkResourceConfigOrBuilder

Describes how a network resource should be initialized. Each network resource can either be imported from an existing Google Cloud resource or initialized when the cluster is created.

Protobuf type google.cloud.hypercomputecluster.v1beta.NetworkResourceConfig

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

EXISTING_NETWORK_FIELD_NUMBER

publicstaticfinalintEXISTING_NETWORK_FIELD_NUMBER
Field Value
Type Description
int

NEW_NETWORK_FIELD_NUMBER

publicstaticfinalintNEW_NETWORK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticNetworkResourceConfiggetDefaultInstance()
Returns
Type Description
NetworkResourceConfig

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticNetworkResourceConfig.BuildernewBuilder()
Returns
Type Description
NetworkResourceConfig.Builder

newBuilder(NetworkResourceConfig prototype)

publicstaticNetworkResourceConfig.BuildernewBuilder(NetworkResourceConfigprototype)
Parameter
Name Description
prototype NetworkResourceConfig
Returns
Type Description
NetworkResourceConfig.Builder

parseDelimitedFrom(InputStream input)

publicstaticNetworkResourceConfigparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkResourceConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticNetworkResourceConfigparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkResourceConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticNetworkResourceConfigparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
NetworkResourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticNetworkResourceConfigparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkResourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticNetworkResourceConfigparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
NetworkResourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticNetworkResourceConfigparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkResourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticNetworkResourceConfigparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NetworkResourceConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticNetworkResourceConfigparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkResourceConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticNetworkResourceConfigparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkResourceConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticNetworkResourceConfigparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkResourceConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticNetworkResourceConfigparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NetworkResourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticNetworkResourceConfigparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkResourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<NetworkResourceConfig>parser()
Returns
Type Description
Parser<NetworkResourceConfig>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConfigCase()

publicNetworkResourceConfig.ConfigCasegetConfigCase()
Returns
Type Description
NetworkResourceConfig.ConfigCase

getDefaultInstanceForType()

publicNetworkResourceConfiggetDefaultInstanceForType()
Returns
Type Description
NetworkResourceConfig

getExistingNetwork()

publicExistingNetworkConfiggetExistingNetwork()

Optional. Immutable. If set, indicates that an existing network should be imported.

.google.cloud.hypercomputecluster.v1beta.ExistingNetworkConfig existing_network = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ExistingNetworkConfig

The existingNetwork.

getExistingNetworkOrBuilder()

publicExistingNetworkConfigOrBuildergetExistingNetworkOrBuilder()

Optional. Immutable. If set, indicates that an existing network should be imported.

.google.cloud.hypercomputecluster.v1beta.ExistingNetworkConfig existing_network = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ExistingNetworkConfigOrBuilder

getNewNetwork()

publicNewNetworkConfiggetNewNetwork()

Optional. Immutable. If set, indicates that a new network should be created.

.google.cloud.hypercomputecluster.v1beta.NewNetworkConfig new_network = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
NewNetworkConfig

The newNetwork.

getNewNetworkOrBuilder()

publicNewNetworkConfigOrBuildergetNewNetworkOrBuilder()

Optional. Immutable. If set, indicates that a new network should be created.

.google.cloud.hypercomputecluster.v1beta.NewNetworkConfig new_network = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
NewNetworkConfigOrBuilder

getParserForType()

publicParser<NetworkResourceConfig>getParserForType()
Returns
Type Description
Parser<NetworkResourceConfig>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hasExistingNetwork()

publicbooleanhasExistingNetwork()

Optional. Immutable. If set, indicates that an existing network should be imported.

.google.cloud.hypercomputecluster.v1beta.ExistingNetworkConfig existing_network = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the existingNetwork field is set.

hasNewNetwork()

publicbooleanhasNewNetwork()

Optional. Immutable. If set, indicates that a new network should be created.

.google.cloud.hypercomputecluster.v1beta.NewNetworkConfig new_network = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the newNetwork field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicNetworkResourceConfig.BuildernewBuilderForType()
Returns
Type Description
NetworkResourceConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedNetworkResourceConfig.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NetworkResourceConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicNetworkResourceConfig.BuildertoBuilder()
Returns
Type Description
NetworkResourceConfig.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月17日 UTC.