Class UpdateNetworkRequest.Builder (0.27.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateNetworkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateNetworkRequest.Builder
Overrides

build()

public UpdateNetworkRequest build()
Returns
TypeDescription
UpdateNetworkRequest

buildPartial()

public UpdateNetworkRequest buildPartial()
Returns
TypeDescription
UpdateNetworkRequest

clear()

public UpdateNetworkRequest.Builder clear()
Returns
TypeDescription
UpdateNetworkRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateNetworkRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateNetworkRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateNetworkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateNetworkRequest.Builder

clone()

public UpdateNetworkRequest.Builder clone()
Returns
TypeDescription
UpdateNetworkRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateNetworkRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateNetworkRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateNetworkRequest other)

public UpdateNetworkRequest.Builder mergeFrom(UpdateNetworkRequest other)
Parameter
NameDescription
otherUpdateNetworkRequest
Returns
TypeDescription
UpdateNetworkRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateNetworkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateNetworkRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateNetworkRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueNetwork
Returns
TypeDescription
UpdateNetworkRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateNetworkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateNetworkRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateNetworkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueNetwork
Returns
TypeDescription
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
NameDescription
builderForValueNetwork.Builder
Returns
TypeDescription
UpdateNetworkRequest.Builder

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

public UpdateNetworkRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateNetworkRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateNetworkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateNetworkRequest.Builder