public static final class NetworksUpdatePeeringRequest.Builder extends GeneratedMessageV3.Builder<NetworksUpdatePeeringRequest.Builder> implements NetworksUpdatePeeringRequestOrBuilder
Protobuf type google.cloud.compute.v1.NetworksUpdatePeeringRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworksUpdatePeeringRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NetworksUpdatePeeringRequest build()
Returns
buildPartial()
public NetworksUpdatePeeringRequest buildPartial()
Returns
clear()
public NetworksUpdatePeeringRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public NetworksUpdatePeeringRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNetworkPeering()
public NetworksUpdatePeeringRequest.Builder clearNetworkPeering()
optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworksUpdatePeeringRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public NetworksUpdatePeeringRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public NetworksUpdatePeeringRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNetworkPeering()
public NetworkPeering getNetworkPeering()
optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;
Returns
getNetworkPeeringBuilder()
public NetworkPeering.Builder getNetworkPeeringBuilder()
optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;
Returns
getNetworkPeeringOrBuilder()
public NetworkPeeringOrBuilder getNetworkPeeringOrBuilder()
optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NetworksUpdatePeeringRequest other)
public NetworksUpdatePeeringRequest.Builder mergeFrom(NetworksUpdatePeeringRequest other)
Parameter
Returns
public NetworksUpdatePeeringRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NetworksUpdatePeeringRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeNetworkPeering(NetworkPeering value)
public NetworksUpdatePeeringRequest.Builder mergeNetworkPeering(NetworkPeering value)
optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworksUpdatePeeringRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public NetworksUpdatePeeringRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNetworkPeering(NetworkPeering value)
public NetworksUpdatePeeringRequest.Builder setNetworkPeering(NetworkPeering value)
optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;
Parameter
Returns
setNetworkPeering(NetworkPeering.Builder builderForValue)
public NetworksUpdatePeeringRequest.Builder setNetworkPeering(NetworkPeering.Builder builderForValue)
optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworksUpdatePeeringRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworksUpdatePeeringRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides