Class NetworkPeeringConnectionStatusConsensusState.Builder (1.82.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
public static final class NetworkPeeringConnectionStatusConsensusState . Builder extends GeneratedMessageV3 . Builder<NetworkPeeringConnectionStatusConsensusState . Builder > implements NetworkPeeringConnectionStatusConsensusStateOrBuilder
The status of update/delete for a consensus peering connection. Only set when connection_status.update_strategy is CONSENSUS or a network peering is proposing to update the strategy to CONSENSUS.
Protobuf type google.cloud.compute.v1.NetworkPeeringConnectionStatusConsensusState
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkPeeringConnectionStatusConsensusState . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public NetworkPeeringConnectionStatusConsensusState build ()
buildPartial()
public NetworkPeeringConnectionStatusConsensusState buildPartial ()
clear()
public NetworkPeeringConnectionStatusConsensusState . Builder clear ()
Overrides
clearDeleteStatus()
public NetworkPeeringConnectionStatusConsensusState . Builder clearDeleteStatus ()
The status of the delete request.
Check the DeleteStatus enum for the list of possible values.
optional string delete_status = 483434758;
clearField(Descriptors.FieldDescriptor field)
public NetworkPeeringConnectionStatusConsensusState . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkPeeringConnectionStatusConsensusState . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearUpdateStatus()
public NetworkPeeringConnectionStatusConsensusState . Builder clearUpdateStatus ()
The status of the update request.
Check the UpdateStatus enum for the list of possible values.
optional string update_status = 265998376;
clone()
public NetworkPeeringConnectionStatusConsensusState . Builder clone ()
Overrides
getDefaultInstanceForType()
public NetworkPeeringConnectionStatusConsensusState getDefaultInstanceForType ()
getDeleteStatus()
public String getDeleteStatus ()
The status of the delete request.
Check the DeleteStatus enum for the list of possible values.
optional string delete_status = 483434758;
Returns
Type
Description
String
The deleteStatus.
getDeleteStatusBytes()
public ByteString getDeleteStatusBytes ()
The status of the delete request.
Check the DeleteStatus enum for the list of possible values.
optional string delete_status = 483434758;
Returns
Type
Description
ByteString
The bytes for deleteStatus.
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getUpdateStatus()
public String getUpdateStatus ()
The status of the update request.
Check the UpdateStatus enum for the list of possible values.
optional string update_status = 265998376;
Returns
Type
Description
String
The updateStatus.
getUpdateStatusBytes()
public ByteString getUpdateStatusBytes ()
The status of the update request.
Check the UpdateStatus enum for the list of possible values.
optional string update_status = 265998376;
Returns
Type
Description
ByteString
The bytes for updateStatus.
hasDeleteStatus()
public boolean hasDeleteStatus ()
The status of the delete request.
Check the DeleteStatus enum for the list of possible values.
optional string delete_status = 483434758;
Returns
Type
Description
boolean
Whether the deleteStatus field is set.
hasUpdateStatus()
public boolean hasUpdateStatus ()
The status of the update request.
Check the UpdateStatus enum for the list of possible values.
optional string update_status = 265998376;
Returns
Type
Description
boolean
Whether the updateStatus field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(NetworkPeeringConnectionStatusConsensusState other)
public NetworkPeeringConnectionStatusConsensusState . Builder mergeFrom ( NetworkPeeringConnectionStatusConsensusState other )
public NetworkPeeringConnectionStatusConsensusState . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public NetworkPeeringConnectionStatusConsensusState . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkPeeringConnectionStatusConsensusState . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setDeleteStatus(String value)
public NetworkPeeringConnectionStatusConsensusState . Builder setDeleteStatus ( String value )
The status of the delete request.
Check the DeleteStatus enum for the list of possible values.
optional string delete_status = 483434758;
Parameter
Name
Description
value
String
The deleteStatus to set.
setDeleteStatusBytes(ByteString value)
public NetworkPeeringConnectionStatusConsensusState . Builder setDeleteStatusBytes ( ByteString value )
The status of the delete request.
Check the DeleteStatus enum for the list of possible values.
optional string delete_status = 483434758;
Parameter
Name
Description
value
ByteString
The bytes for deleteStatus to set.
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkPeeringConnectionStatusConsensusState . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkPeeringConnectionStatusConsensusState . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkPeeringConnectionStatusConsensusState . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setUpdateStatus(String value)
public NetworkPeeringConnectionStatusConsensusState . Builder setUpdateStatus ( String value )
The status of the update request.
Check the UpdateStatus enum for the list of possible values.
optional string update_status = 265998376;
Parameter
Name
Description
value
String
The updateStatus to set.
setUpdateStatusBytes(ByteString value)
public NetworkPeeringConnectionStatusConsensusState . Builder setUpdateStatusBytes ( ByteString value )
The status of the update request.
Check the UpdateStatus enum for the list of possible values.
optional string update_status = 265998376;
Parameter
Name
Description
value
ByteString
The bytes for updateStatus to set.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[]]