Class UpdateNetworkRequest.Builder (0.46.0)

public static final class UpdateNetworkRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateNetworkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateNetworkRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public UpdateNetworkRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateNetworkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateNetworkRequest.Builder
Overrides

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateNetworkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateNetworkRequest.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateNetworkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateNetworkRequest.Builder
Overrides

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateNetworkRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateNetworkRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateNetworkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateNetworkRequest.Builder
Overrides

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