Class NewNetworkConfig (0.1.0)

public final class NewNetworkConfig extends GeneratedMessageV3 implements NewNetworkConfigOrBuilder

When set in a NetworkResourceConfig, indicates that a new network should be created.

Protobuf type google.cloud.hypercomputecluster.v1beta.NewNetworkConfig

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NewNetworkConfig getDefaultInstance()
Returns
Type Description
NewNetworkConfig

getDescriptor()

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

newBuilder()

public static NewNetworkConfig.Builder newBuilder()
Returns
Type Description
NewNetworkConfig.Builder

newBuilder(NewNetworkConfig prototype)

public static NewNetworkConfig.Builder newBuilder(NewNetworkConfig prototype)
Parameter
Name Description
prototype NewNetworkConfig
Returns
Type Description
NewNetworkConfig.Builder

parseDelimitedFrom(InputStream input)

public static NewNetworkConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NewNetworkConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NewNetworkConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NewNetworkConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NewNetworkConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NewNetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NewNetworkConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NewNetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NewNetworkConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NewNetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NewNetworkConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NewNetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NewNetworkConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NewNetworkConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NewNetworkConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NewNetworkConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NewNetworkConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NewNetworkConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NewNetworkConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NewNetworkConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NewNetworkConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NewNetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NewNetworkConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NewNetworkConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NewNetworkConfig> parser()
Returns
Type Description
Parser<NewNetworkConfig>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public NewNetworkConfig getDefaultInstanceForType()
Returns
Type Description
NewNetworkConfig

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.

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.

getParserForType()

public Parser<NewNetworkConfig> getParserForType()
Returns
Type Description
Parser<NewNetworkConfig>
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 NewNetworkConfig.Builder newBuilderForType()
Returns
Type Description
NewNetworkConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NewNetworkConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NewNetworkConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public NewNetworkConfig.Builder toBuilder()
Returns
Type Description
NewNetworkConfig.Builder

writeTo(CodedOutputStream output)

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