Class UpdateNetworkRequest.Builder (0.83.0)

public static final class UpdateNetworkRequest.Builder extends GeneratedMessage.Builder<UpdateNetworkRequest.Builder> implements UpdateNetworkRequestOrBuilder

Message requesting to updating a network.

Protobuf type google.cloud.baremetalsolution.v2.UpdateNetworkRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateNetworkRequest build()
Returns
Type Description
UpdateNetworkRequest

buildPartial()

public UpdateNetworkRequest buildPartial()
Returns
Type Description
UpdateNetworkRequest

clear()

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

clearNetwork()

public UpdateNetworkRequest.Builder clearNetwork()

Required. The network to update.

The name field is used to identify the instance to update. Format: projects/{project}/locations/{location}/networks/{network}

.google.cloud.baremetalsolution.v2.Network network = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateNetworkRequest.Builder

clearUpdateMask()

public UpdateNetworkRequest.Builder clearUpdateMask()

The list of fields to update. The only currently supported fields are: labels, reservations, vrf.vlan_attachments

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateNetworkRequest.Builder

getDefaultInstanceForType()

public UpdateNetworkRequest getDefaultInstanceForType()
Returns
Type Description
UpdateNetworkRequest

getDescriptorForType()

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

getNetwork()

public Network getNetwork()

Required. The network to update.

The name field is used to identify the instance to update. Format: projects/{project}/locations/{location}/networks/{network}

.google.cloud.baremetalsolution.v2.Network network = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Network

The network.

getNetworkBuilder()

public Network.Builder getNetworkBuilder()

Required. The network to update.

The name field is used to identify the instance to update. Format: projects/{project}/locations/{location}/networks/{network}

.google.cloud.baremetalsolution.v2.Network network = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Network.Builder

getNetworkOrBuilder()

public NetworkOrBuilder getNetworkOrBuilder()

Required. The network to update.

The name field is used to identify the instance to update. Format: projects/{project}/locations/{location}/networks/{network}

.google.cloud.baremetalsolution.v2.Network network = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NetworkOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to update. The only currently supported fields are: labels, reservations, vrf.vlan_attachments

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of fields to update. The only currently supported fields are: labels, reservations, vrf.vlan_attachments

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to update. The only currently supported fields are: labels, reservations, vrf.vlan_attachments

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasNetwork()

public boolean hasNetwork()

Required. The network to update.

The name field is used to identify the instance to update. Format: projects/{project}/locations/{location}/networks/{network}

.google.cloud.baremetalsolution.v2.Network network = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the network field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to update. The only currently supported fields are: labels, reservations, vrf.vlan_attachments

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateNetworkRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNetwork(Network value)

public UpdateNetworkRequest.Builder mergeNetwork(Network value)

Required. The network to update.

The name field is used to identify the instance to update. Format: projects/{project}/locations/{location}/networks/{network}

.google.cloud.baremetalsolution.v2.Network network = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Network
Returns
Type Description
UpdateNetworkRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateNetworkRequest.Builder mergeUpdateMask(FieldMask value)

The list of fields to update. The only currently supported fields are: labels, reservations, vrf.vlan_attachments

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateNetworkRequest.Builder

setNetwork(Network value)

public UpdateNetworkRequest.Builder setNetwork(Network value)

Required. The network to update.

The name field is used to identify the instance to update. Format: projects/{project}/locations/{location}/networks/{network}

.google.cloud.baremetalsolution.v2.Network network = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Network
Returns
Type Description
UpdateNetworkRequest.Builder

setNetwork(Network.Builder builderForValue)

public UpdateNetworkRequest.Builder setNetwork(Network.Builder builderForValue)

Required. The network to update.

The name field is used to identify the instance to update. Format: projects/{project}/locations/{location}/networks/{network}

.google.cloud.baremetalsolution.v2.Network network = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Network.Builder
Returns
Type Description
UpdateNetworkRequest.Builder

setUpdateMask(FieldMask value)

public UpdateNetworkRequest.Builder setUpdateMask(FieldMask value)

The list of fields to update. The only currently supported fields are: labels, reservations, vrf.vlan_attachments

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateNetworkRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateNetworkRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The list of fields to update. The only currently supported fields are: labels, reservations, vrf.vlan_attachments

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateNetworkRequest.Builder