Class CreateNetwork (0.8.0)

public final class CreateNetwork extends GeneratedMessage implements CreateNetworkOrBuilder

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

Protobuf type google.cloud.hypercomputecluster.v1.CreateNetwork

Static Fields

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateNetwork getDefaultInstance()
Returns
Type Description
CreateNetwork

getDescriptor()

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

newBuilder()

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

newBuilder(CreateNetwork prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreateNetwork getDefaultInstanceForType()
Returns
Type Description
CreateNetwork

getNetwork()

public String getNetwork()

Output only. Name of the network to create, in the format projects/{project}/global/networks/{network}.

string network = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

Output only. Name of the network to create, in the format projects/{project}/global/networks/{network}.

string network = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for network.

getParserForType()

public Parser<CreateNetwork> getParserForType()
Returns
Type Description
Parser<CreateNetwork>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreateNetwork.Builder newBuilderForType()
Returns
Type Description
CreateNetwork.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected CreateNetwork.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateNetwork.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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