Send feedback
Class NewNetworkConfig.Builder (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class NewNetworkConfig . Builder extends GeneratedMessageV3 . Builder<NewNetworkConfig . Builder > implements NewNetworkConfigOrBuilder
When set in a
NetworkResourceConfig ,
indicates that a new network should be created.
Protobuf type google.cloud.hypercomputecluster.v1beta.NewNetworkConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NewNetworkConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public NewNetworkConfig build ()
buildPartial()
public NewNetworkConfig buildPartial ()
clear()
public NewNetworkConfig . Builder clear ()
Overrides
clearDescription()
public NewNetworkConfig . Builder clearDescription ()
Optional. Immutable. Description of the network. Maximum of 2048
characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
clearField(Descriptors.FieldDescriptor field)
public NewNetworkConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearNetwork()
public NewNetworkConfig . Builder clearNetwork ()
Required. Immutable. Name of the network to create, in the format
projects/{project}/global/networks/{network}.
string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public NewNetworkConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public NewNetworkConfig . Builder clone ()
Overrides
getDefaultInstanceForType()
public NewNetworkConfig getDefaultInstanceForType ()
getDescription()
public String getDescription ()
Optional. Immutable. Description of the network. Maximum of 2048
characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Returns
Type
Description
String
The description.
getDescriptionBytes()
public ByteString getDescriptionBytes ()
Optional. Immutable. Description of the network. Maximum of 2048
characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Returns
Type
Description
ByteString
The bytes for description.
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getNetwork()
public String getNetwork ()
Required. Immutable. Name of the network to create, in the format
projects/{project}/global/networks/{network}.
string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The network.
getNetworkBytes()
public ByteString getNetworkBytes ()
Required. Immutable. Name of the network to create, in the format
projects/{project}/global/networks/{network}.
string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for network.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(NewNetworkConfig other)
public NewNetworkConfig . Builder mergeFrom ( NewNetworkConfig other )
public NewNetworkConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public NewNetworkConfig . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NewNetworkConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setDescription(String value)
public NewNetworkConfig . Builder setDescription ( String value )
Optional. Immutable. Description of the network. Maximum of 2048
characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameter
Name
Description
value
String The description to set.
setDescriptionBytes(ByteString value)
public NewNetworkConfig . Builder setDescriptionBytes ( ByteString value )
Optional. Immutable. Description of the network. Maximum of 2048
characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
Parameter
Name
Description
value
ByteString The bytes for description to set.
setField(Descriptors.FieldDescriptor field, Object value)
public NewNetworkConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setNetwork(String value)
public NewNetworkConfig . Builder setNetwork ( String value )
Required. Immutable. Name of the network to create, in the format
projects/{project}/global/networks/{network}.
string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Parameter
Name
Description
value
String The network to set.
setNetworkBytes(ByteString value)
public NewNetworkConfig . Builder setNetworkBytes ( ByteString value )
Required. Immutable. Name of the network to create, in the format
projects/{project}/global/networks/{network}.
string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Parameter
Name
Description
value
ByteString The bytes for network to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NewNetworkConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NewNetworkConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
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.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-12-17 UTC."],[],[]]