Class NetworksUpdatePeeringRequest.Builder (1.53.0)

public static final class NetworksUpdatePeeringRequest.Builder extends GeneratedMessageV3.Builder<NetworksUpdatePeeringRequest.Builder> implements NetworksUpdatePeeringRequestOrBuilder

Protobuf type google.cloud.compute.v1.NetworksUpdatePeeringRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworksUpdatePeeringRequest build()
Returns
Type Description
NetworksUpdatePeeringRequest

buildPartial()

public NetworksUpdatePeeringRequest buildPartial()
Returns
Type Description
NetworksUpdatePeeringRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public NetworksUpdatePeeringRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NetworksUpdatePeeringRequest.Builder
Overrides

clearNetworkPeering()

public NetworksUpdatePeeringRequest.Builder clearNetworkPeering()

optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;

Returns
Type Description
NetworksUpdatePeeringRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public NetworksUpdatePeeringRequest getDefaultInstanceForType()
Returns
Type Description
NetworksUpdatePeeringRequest

getDescriptorForType()

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

getNetworkPeering()

public NetworkPeering getNetworkPeering()

optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;

Returns
Type Description
NetworkPeering

The networkPeering.

getNetworkPeeringBuilder()

public NetworkPeering.Builder getNetworkPeeringBuilder()

optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;

Returns
Type Description
NetworkPeering.Builder

getNetworkPeeringOrBuilder()

public NetworkPeeringOrBuilder getNetworkPeeringOrBuilder()

optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;

Returns
Type Description
NetworkPeeringOrBuilder

hasNetworkPeering()

public boolean hasNetworkPeering()

optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;

Returns
Type Description
boolean

Whether the networkPeering field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NetworksUpdatePeeringRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNetworkPeering(NetworkPeering value)

public NetworksUpdatePeeringRequest.Builder mergeNetworkPeering(NetworkPeering value)

optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;

Parameter
Name Description
value NetworkPeering
Returns
Type Description
NetworksUpdatePeeringRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetworkPeering(NetworkPeering value)

public NetworksUpdatePeeringRequest.Builder setNetworkPeering(NetworkPeering value)

optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;

Parameter
Name Description
value NetworkPeering
Returns
Type Description
NetworksUpdatePeeringRequest.Builder

setNetworkPeering(NetworkPeering.Builder builderForValue)

public NetworksUpdatePeeringRequest.Builder setNetworkPeering(NetworkPeering.Builder builderForValue)

optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;

Parameter
Name Description
builderForValue NetworkPeering.Builder
Returns
Type Description
NetworksUpdatePeeringRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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