Package com.google.cloud.compute.v1
Class NetworkPeeringConnectionStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NetworkPeeringConnectionStatus.Builder>
com.google.cloud.compute.v1.NetworkPeeringConnectionStatus.Builder
- All Implemented Interfaces:
NetworkPeeringConnectionStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NetworkPeeringConnectionStatus
public static final class NetworkPeeringConnectionStatus.Builder
extends com.google.protobuf.GeneratedMessage.Builder<NetworkPeeringConnectionStatus.Builder>
implements NetworkPeeringConnectionStatusOrBuilder
[Output Only] Describes the state of a peering connection, not just the local peering. This field provides information about the effective settings for the connection as a whole, including pending delete/update requests for CONSENSUS peerings.Protobuf type
google.cloud.compute.v1.NetworkPeeringConnectionStatus-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The consensus state contains information about the status of update and delete for a consensus peering connection.The active connectivity settings for the peering connection based on the settings of the network peerings.The update strategy determines the update/delete semantics for this peering connection.The consensus state contains information about the status of update and delete for a consensus peering connection.The consensus state contains information about the status of update and delete for a consensus peering connection.The consensus state contains information about the status of update and delete for a consensus peering connection.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe active connectivity settings for the peering connection based on the settings of the network peerings.The active connectivity settings for the peering connection based on the settings of the network peerings.The active connectivity settings for the peering connection based on the settings of the network peerings.The update strategy determines the update/delete semantics for this peering connection.com.google.protobuf.ByteStringThe update strategy determines the update/delete semantics for this peering connection.booleanThe consensus state contains information about the status of update and delete for a consensus peering connection.booleanThe active connectivity settings for the peering connection based on the settings of the network peerings.booleanThe update strategy determines the update/delete semantics for this peering connection.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe consensus state contains information about the status of update and delete for a consensus peering connection.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The active connectivity settings for the peering connection based on the settings of the network peerings.The consensus state contains information about the status of update and delete for a consensus peering connection.setConsensusState(NetworkPeeringConnectionStatusConsensusState.Builder builderForValue) The consensus state contains information about the status of update and delete for a consensus peering connection.The active connectivity settings for the peering connection based on the settings of the network peerings.The active connectivity settings for the peering connection based on the settings of the network peerings.setUpdateStrategy(String value) The update strategy determines the update/delete semantics for this peering connection.setUpdateStrategyBytes(com.google.protobuf.ByteString value) The update strategy determines the update/delete semantics for this peering connection.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<NetworkPeeringConnectionStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<NetworkPeeringConnectionStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<NetworkPeeringConnectionStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NetworkPeeringConnectionStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<NetworkPeeringConnectionStatus.Builder>
-
mergeFrom
public NetworkPeeringConnectionStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NetworkPeeringConnectionStatus.Builder>- Throws:
IOException
-
hasConsensusState
public boolean hasConsensusState()The consensus state contains information about the status of update and delete for a consensus peering connection.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusConsensusState consensus_state = 379772617;- Specified by:
hasConsensusStatein interfaceNetworkPeeringConnectionStatusOrBuilder- Returns:
- Whether the consensusState field is set.
-
getConsensusState
The consensus state contains information about the status of update and delete for a consensus peering connection.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusConsensusState consensus_state = 379772617;- Specified by:
getConsensusStatein interfaceNetworkPeeringConnectionStatusOrBuilder- Returns:
- The consensusState.
-
setConsensusState
public NetworkPeeringConnectionStatus.Builder setConsensusState(NetworkPeeringConnectionStatusConsensusState value) The consensus state contains information about the status of update and delete for a consensus peering connection.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusConsensusState consensus_state = 379772617; -
setConsensusState
public NetworkPeeringConnectionStatus.Builder setConsensusState(NetworkPeeringConnectionStatusConsensusState.Builder builderForValue) The consensus state contains information about the status of update and delete for a consensus peering connection.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusConsensusState consensus_state = 379772617; -
mergeConsensusState
public NetworkPeeringConnectionStatus.Builder mergeConsensusState(NetworkPeeringConnectionStatusConsensusState value) The consensus state contains information about the status of update and delete for a consensus peering connection.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusConsensusState consensus_state = 379772617; -
clearConsensusState
The consensus state contains information about the status of update and delete for a consensus peering connection.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusConsensusState consensus_state = 379772617; -
getConsensusStateBuilder
The consensus state contains information about the status of update and delete for a consensus peering connection.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusConsensusState consensus_state = 379772617; -
getConsensusStateOrBuilder
The consensus state contains information about the status of update and delete for a consensus peering connection.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusConsensusState consensus_state = 379772617;- Specified by:
getConsensusStateOrBuilderin interfaceNetworkPeeringConnectionStatusOrBuilder
-
hasTrafficConfiguration
public boolean hasTrafficConfiguration()The active connectivity settings for the peering connection based on the settings of the network peerings.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusTrafficConfiguration traffic_configuration = 133016116;- Specified by:
hasTrafficConfigurationin interfaceNetworkPeeringConnectionStatusOrBuilder- Returns:
- Whether the trafficConfiguration field is set.
-
getTrafficConfiguration
The active connectivity settings for the peering connection based on the settings of the network peerings.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusTrafficConfiguration traffic_configuration = 133016116;- Specified by:
getTrafficConfigurationin interfaceNetworkPeeringConnectionStatusOrBuilder- Returns:
- The trafficConfiguration.
-
setTrafficConfiguration
public NetworkPeeringConnectionStatus.Builder setTrafficConfiguration(NetworkPeeringConnectionStatusTrafficConfiguration value) The active connectivity settings for the peering connection based on the settings of the network peerings.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusTrafficConfiguration traffic_configuration = 133016116; -
setTrafficConfiguration
public NetworkPeeringConnectionStatus.Builder setTrafficConfiguration(NetworkPeeringConnectionStatusTrafficConfiguration.Builder builderForValue) The active connectivity settings for the peering connection based on the settings of the network peerings.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusTrafficConfiguration traffic_configuration = 133016116; -
mergeTrafficConfiguration
public NetworkPeeringConnectionStatus.Builder mergeTrafficConfiguration(NetworkPeeringConnectionStatusTrafficConfiguration value) The active connectivity settings for the peering connection based on the settings of the network peerings.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusTrafficConfiguration traffic_configuration = 133016116; -
clearTrafficConfiguration
The active connectivity settings for the peering connection based on the settings of the network peerings.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusTrafficConfiguration traffic_configuration = 133016116; -
getTrafficConfigurationBuilder
The active connectivity settings for the peering connection based on the settings of the network peerings.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusTrafficConfiguration traffic_configuration = 133016116; -
getTrafficConfigurationOrBuilder
public NetworkPeeringConnectionStatusTrafficConfigurationOrBuilder getTrafficConfigurationOrBuilder()The active connectivity settings for the peering connection based on the settings of the network peerings.
optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusTrafficConfiguration traffic_configuration = 133016116;- Specified by:
getTrafficConfigurationOrBuilderin interfaceNetworkPeeringConnectionStatusOrBuilder
-
hasUpdateStrategy
public boolean hasUpdateStrategy()The update strategy determines the update/delete semantics for this peering connection. Check the UpdateStrategy enum for the list of possible values.
optional string update_strategy = 6123049;- Specified by:
hasUpdateStrategyin interfaceNetworkPeeringConnectionStatusOrBuilder- Returns:
- Whether the updateStrategy field is set.
-
getUpdateStrategy
The update strategy determines the update/delete semantics for this peering connection. Check the UpdateStrategy enum for the list of possible values.
optional string update_strategy = 6123049;- Specified by:
getUpdateStrategyin interfaceNetworkPeeringConnectionStatusOrBuilder- Returns:
- The updateStrategy.
-
getUpdateStrategyBytes
public com.google.protobuf.ByteString getUpdateStrategyBytes()The update strategy determines the update/delete semantics for this peering connection. Check the UpdateStrategy enum for the list of possible values.
optional string update_strategy = 6123049;- Specified by:
getUpdateStrategyBytesin interfaceNetworkPeeringConnectionStatusOrBuilder- Returns:
- The bytes for updateStrategy.
-
setUpdateStrategy
The update strategy determines the update/delete semantics for this peering connection. Check the UpdateStrategy enum for the list of possible values.
optional string update_strategy = 6123049;- Parameters:
value- The updateStrategy to set.- Returns:
- This builder for chaining.
-
clearUpdateStrategy
The update strategy determines the update/delete semantics for this peering connection. Check the UpdateStrategy enum for the list of possible values.
optional string update_strategy = 6123049;- Returns:
- This builder for chaining.
-
setUpdateStrategyBytes
public NetworkPeeringConnectionStatus.Builder setUpdateStrategyBytes(com.google.protobuf.ByteString value) The update strategy determines the update/delete semantics for this peering connection. Check the UpdateStrategy enum for the list of possible values.
optional string update_strategy = 6123049;- Parameters:
value- The bytes for updateStrategy to set.- Returns:
- This builder for chaining.
-