Class NetworksUpdatePeeringRequest.Builder (1.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworksUpdatePeeringRequest build()
Returns
TypeDescription
NetworksUpdatePeeringRequest

buildPartial()

public NetworksUpdatePeeringRequest buildPartial()
Returns
TypeDescription
NetworksUpdatePeeringRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public NetworksUpdatePeeringRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NetworksUpdatePeeringRequest.Builder
Overrides

clearNetworkPeering()

public NetworksUpdatePeeringRequest.Builder clearNetworkPeering()

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

Returns
TypeDescription
NetworksUpdatePeeringRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public NetworksUpdatePeeringRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NetworksUpdatePeeringRequest.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public NetworksUpdatePeeringRequest getDefaultInstanceForType()
Returns
TypeDescription
NetworksUpdatePeeringRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNetworkPeering()

public NetworkPeering getNetworkPeering()

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

Returns
TypeDescription
NetworkPeering

The networkPeering.

getNetworkPeeringBuilder()

public NetworkPeering.Builder getNetworkPeeringBuilder()

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

Returns
TypeDescription
NetworkPeering.Builder

getNetworkPeeringOrBuilder()

public NetworkPeeringOrBuilder getNetworkPeeringOrBuilder()

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

Returns
TypeDescription
NetworkPeeringOrBuilder

hasNetworkPeering()

public boolean hasNetworkPeering()

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

Returns
TypeDescription
boolean

Whether the networkPeering field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NetworksUpdatePeeringRequest other)

public NetworksUpdatePeeringRequest.Builder mergeFrom(NetworksUpdatePeeringRequest other)
Parameter
NameDescription
otherNetworksUpdatePeeringRequest
Returns
TypeDescription
NetworksUpdatePeeringRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public NetworksUpdatePeeringRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NetworksUpdatePeeringRequest.Builder
Overrides

mergeNetworkPeering(NetworkPeering value)

public NetworksUpdatePeeringRequest.Builder mergeNetworkPeering(NetworkPeering value)

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

Parameter
NameDescription
valueNetworkPeering
Returns
TypeDescription
NetworksUpdatePeeringRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworksUpdatePeeringRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworksUpdatePeeringRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetworkPeering(NetworkPeering value)

public NetworksUpdatePeeringRequest.Builder setNetworkPeering(NetworkPeering value)

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

Parameter
NameDescription
valueNetworkPeering
Returns
TypeDescription
NetworksUpdatePeeringRequest.Builder

setNetworkPeering(NetworkPeering.Builder builderForValue)

public NetworksUpdatePeeringRequest.Builder setNetworkPeering(NetworkPeering.Builder builderForValue)

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

Parameter
NameDescription
builderForValueNetworkPeering.Builder
Returns
TypeDescription
NetworksUpdatePeeringRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final NetworksUpdatePeeringRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworksUpdatePeeringRequest.Builder
Overrides