public static final class NewNetworkConfig.Builder extends GeneratedMessage.Builder<NewNetworkConfig.Builder> implements NewNetworkConfigOrBuilderWhen set in a NetworkResourceConfig, indicates that a new network should be created.
Protobuf type google.cloud.hypercomputecluster.v1beta.NewNetworkConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > NewNetworkConfig.BuilderImplements
NewNetworkConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public NewNetworkConfig build()| Returns | |
|---|---|
| Type | Description |
NewNetworkConfig |
|
buildPartial()
public NewNetworkConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
NewNetworkConfig |
|
clear()
public NewNetworkConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
NewNetworkConfig.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
NewNetworkConfig.Builder |
This builder for chaining. |
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
NewNetworkConfig.Builder |
This builder for chaining. |
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(NewNetworkConfig other)
public NewNetworkConfig.Builder mergeFrom(NewNetworkConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
NewNetworkConfig |
| Returns | |
|---|---|
| Type | Description |
NewNetworkConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NewNetworkConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NewNetworkConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NewNetworkConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NewNetworkConfig.Builder |
|
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 |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
NewNetworkConfig.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
NewNetworkConfig.Builder |
This builder for chaining. |
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 |
StringThe network to set. |
| Returns | |
|---|---|
| Type | Description |
NewNetworkConfig.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for network to set. |
| Returns | |
|---|---|
| Type | Description |
NewNetworkConfig.Builder |
This builder for chaining. |