Class NetworkResource.Builder (0.1.0)

public static final class NetworkResource.Builder extends GeneratedMessageV3.Builder<NetworkResource.Builder> implements NetworkResourceOrBuilder

A resource representing a network that connects the various components of a cluster together.

Protobuf type google.cloud.hypercomputecluster.v1beta.NetworkResource

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworkResource build()
Returns
Type Description
NetworkResource

buildPartial()

public NetworkResource buildPartial()
Returns
Type Description
NetworkResource

clear()

public NetworkResource.Builder clear()
Returns
Type Description
NetworkResource.Builder
Overrides

clearConfig()

public NetworkResource.Builder clearConfig()

Immutable. Configuration for this network resource, which describes how it should be created or imported. This field only controls how the network resource is initially created or imported. Subsequent changes to the network resource should be made via the resource's API and will not be reflected in the configuration.

.google.cloud.hypercomputecluster.v1beta.NetworkResourceConfig config = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
NetworkResource.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNetwork()

public NetworkResource.Builder clearNetwork()

Reference to a network in Google Compute Engine.

.google.cloud.hypercomputecluster.v1beta.NetworkReference network = 3;

Returns
Type Description
NetworkResource.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReference()

public NetworkResource.Builder clearReference()
Returns
Type Description
NetworkResource.Builder

clone()

public NetworkResource.Builder clone()
Returns
Type Description
NetworkResource.Builder
Overrides

getConfig()

public NetworkResourceConfig getConfig()

Immutable. Configuration for this network resource, which describes how it should be created or imported. This field only controls how the network resource is initially created or imported. Subsequent changes to the network resource should be made via the resource's API and will not be reflected in the configuration.

.google.cloud.hypercomputecluster.v1beta.NetworkResourceConfig config = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
NetworkResourceConfig

The config.

getConfigBuilder()

public NetworkResourceConfig.Builder getConfigBuilder()

Immutable. Configuration for this network resource, which describes how it should be created or imported. This field only controls how the network resource is initially created or imported. Subsequent changes to the network resource should be made via the resource's API and will not be reflected in the configuration.

.google.cloud.hypercomputecluster.v1beta.NetworkResourceConfig config = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
NetworkResourceConfig.Builder

getConfigOrBuilder()

public NetworkResourceConfigOrBuilder getConfigOrBuilder()

Immutable. Configuration for this network resource, which describes how it should be created or imported. This field only controls how the network resource is initially created or imported. Subsequent changes to the network resource should be made via the resource's API and will not be reflected in the configuration.

.google.cloud.hypercomputecluster.v1beta.NetworkResourceConfig config = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
NetworkResourceConfigOrBuilder

getDefaultInstanceForType()

public NetworkResource getDefaultInstanceForType()
Returns
Type Description
NetworkResource

getDescriptorForType()

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

getNetwork()

public NetworkReference getNetwork()

Reference to a network in Google Compute Engine.

.google.cloud.hypercomputecluster.v1beta.NetworkReference network = 3;

Returns
Type Description
NetworkReference

The network.

getNetworkBuilder()

public NetworkReference.Builder getNetworkBuilder()

Reference to a network in Google Compute Engine.

.google.cloud.hypercomputecluster.v1beta.NetworkReference network = 3;

Returns
Type Description
NetworkReference.Builder

getNetworkOrBuilder()

public NetworkReferenceOrBuilder getNetworkOrBuilder()

Reference to a network in Google Compute Engine.

.google.cloud.hypercomputecluster.v1beta.NetworkReference network = 3;

Returns
Type Description
NetworkReferenceOrBuilder

getReferenceCase()

public NetworkResource.ReferenceCase getReferenceCase()
Returns
Type Description
NetworkResource.ReferenceCase

hasConfig()

public boolean hasConfig()

Immutable. Configuration for this network resource, which describes how it should be created or imported. This field only controls how the network resource is initially created or imported. Subsequent changes to the network resource should be made via the resource's API and will not be reflected in the configuration.

.google.cloud.hypercomputecluster.v1beta.NetworkResourceConfig config = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the config field is set.

hasNetwork()

public boolean hasNetwork()

Reference to a network in Google Compute Engine.

.google.cloud.hypercomputecluster.v1beta.NetworkReference network = 3;

Returns
Type Description
boolean

Whether the network field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConfig(NetworkResourceConfig value)

public NetworkResource.Builder mergeConfig(NetworkResourceConfig value)

Immutable. Configuration for this network resource, which describes how it should be created or imported. This field only controls how the network resource is initially created or imported. Subsequent changes to the network resource should be made via the resource's API and will not be reflected in the configuration.

.google.cloud.hypercomputecluster.v1beta.NetworkResourceConfig config = 2 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value NetworkResourceConfig
Returns
Type Description
NetworkResource.Builder

mergeFrom(NetworkResource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNetwork(NetworkReference value)

public NetworkResource.Builder mergeNetwork(NetworkReference value)

Reference to a network in Google Compute Engine.

.google.cloud.hypercomputecluster.v1beta.NetworkReference network = 3;

Parameter
Name Description
value NetworkReference
Returns
Type Description
NetworkResource.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConfig(NetworkResourceConfig value)

public NetworkResource.Builder setConfig(NetworkResourceConfig value)

Immutable. Configuration for this network resource, which describes how it should be created or imported. This field only controls how the network resource is initially created or imported. Subsequent changes to the network resource should be made via the resource's API and will not be reflected in the configuration.

.google.cloud.hypercomputecluster.v1beta.NetworkResourceConfig config = 2 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value NetworkResourceConfig
Returns
Type Description
NetworkResource.Builder

setConfig(NetworkResourceConfig.Builder builderForValue)

public NetworkResource.Builder setConfig(NetworkResourceConfig.Builder builderForValue)

Immutable. Configuration for this network resource, which describes how it should be created or imported. This field only controls how the network resource is initially created or imported. Subsequent changes to the network resource should be made via the resource's API and will not be reflected in the configuration.

.google.cloud.hypercomputecluster.v1beta.NetworkResourceConfig config = 2 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
builderForValue NetworkResourceConfig.Builder
Returns
Type Description
NetworkResource.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetwork(NetworkReference value)

public NetworkResource.Builder setNetwork(NetworkReference value)

Reference to a network in Google Compute Engine.

.google.cloud.hypercomputecluster.v1beta.NetworkReference network = 3;

Parameter
Name Description
value NetworkReference
Returns
Type Description
NetworkResource.Builder

setNetwork(NetworkReference.Builder builderForValue)

public NetworkResource.Builder setNetwork(NetworkReference.Builder builderForValue)

Reference to a network in Google Compute Engine.

.google.cloud.hypercomputecluster.v1beta.NetworkReference network = 3;

Parameter
Name Description
builderForValue NetworkReference.Builder
Returns
Type Description
NetworkResource.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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