Package com.google.cloud.compute.v1
Class VpnGatewayStatusHighAvailabilityRequirementState.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
- com.google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState.Builder
-
- All Implemented Interfaces:
VpnGatewayStatusHighAvailabilityRequirementStateOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VpnGatewayStatusHighAvailabilityRequirementState
public static final class VpnGatewayStatusHighAvailabilityRequirementState.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder> implements VpnGatewayStatusHighAvailabilityRequirementStateOrBuilder
Describes the high availability requirement state for the VPN connection between this Cloud VPN gateway and a peer gateway.
Protobuf typegoogle.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VpnGatewayStatusHighAvailabilityRequirementState.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)VpnGatewayStatusHighAvailabilityRequirementStatebuild()VpnGatewayStatusHighAvailabilityRequirementStatebuildPartial()VpnGatewayStatusHighAvailabilityRequirementState.Builderclear()VpnGatewayStatusHighAvailabilityRequirementState.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)VpnGatewayStatusHighAvailabilityRequirementState.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)VpnGatewayStatusHighAvailabilityRequirementState.BuilderclearState()Indicates the high availability requirement state for the VPN connection.VpnGatewayStatusHighAvailabilityRequirementState.BuilderclearUnsatisfiedReason()Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement.VpnGatewayStatusHighAvailabilityRequirementState.Builderclone()VpnGatewayStatusHighAvailabilityRequirementStategetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetState()Indicates the high availability requirement state for the VPN connection.com.google.protobuf.ByteStringgetStateBytes()Indicates the high availability requirement state for the VPN connection.StringgetUnsatisfiedReason()Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement.com.google.protobuf.ByteStringgetUnsatisfiedReasonBytes()Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement.booleanhasState()Indicates the high availability requirement state for the VPN connection.booleanhasUnsatisfiedReason()Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()VpnGatewayStatusHighAvailabilityRequirementState.BuildermergeFrom(VpnGatewayStatusHighAvailabilityRequirementState other)VpnGatewayStatusHighAvailabilityRequirementState.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)VpnGatewayStatusHighAvailabilityRequirementState.BuildermergeFrom(com.google.protobuf.Message other)VpnGatewayStatusHighAvailabilityRequirementState.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)VpnGatewayStatusHighAvailabilityRequirementState.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)VpnGatewayStatusHighAvailabilityRequirementState.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)VpnGatewayStatusHighAvailabilityRequirementState.BuildersetState(String value)Indicates the high availability requirement state for the VPN connection.VpnGatewayStatusHighAvailabilityRequirementState.BuildersetStateBytes(com.google.protobuf.ByteString value)Indicates the high availability requirement state for the VPN connection.VpnGatewayStatusHighAvailabilityRequirementState.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)VpnGatewayStatusHighAvailabilityRequirementState.BuildersetUnsatisfiedReason(String value)Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement.VpnGatewayStatusHighAvailabilityRequirementState.BuildersetUnsatisfiedReasonBytes(com.google.protobuf.ByteString value)Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
clear
public VpnGatewayStatusHighAvailabilityRequirementState.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.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.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
getDefaultInstanceForType
public VpnGatewayStatusHighAvailabilityRequirementState getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public VpnGatewayStatusHighAvailabilityRequirementState build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VpnGatewayStatusHighAvailabilityRequirementState buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VpnGatewayStatusHighAvailabilityRequirementState.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
setField
public VpnGatewayStatusHighAvailabilityRequirementState.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
clearField
public VpnGatewayStatusHighAvailabilityRequirementState.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
clearOneof
public VpnGatewayStatusHighAvailabilityRequirementState.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
setRepeatedField
public VpnGatewayStatusHighAvailabilityRequirementState.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
addRepeatedField
public VpnGatewayStatusHighAvailabilityRequirementState.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
mergeFrom
public VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
mergeFrom
public VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeFrom(VpnGatewayStatusHighAvailabilityRequirementState other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
mergeFrom
public VpnGatewayStatusHighAvailabilityRequirementState.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<VpnGatewayStatusHighAvailabilityRequirementState.Builder>- Throws:
IOException
-
hasState
public boolean hasState()
Indicates the high availability requirement state for the VPN connection. Valid values are CONNECTION_REDUNDANCY_MET, CONNECTION_REDUNDANCY_NOT_MET. Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
hasStatein interfaceVpnGatewayStatusHighAvailabilityRequirementStateOrBuilder- Returns:
- Whether the state field is set.
-
getState
public String getState()
Indicates the high availability requirement state for the VPN connection. Valid values are CONNECTION_REDUNDANCY_MET, CONNECTION_REDUNDANCY_NOT_MET. Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
getStatein interfaceVpnGatewayStatusHighAvailabilityRequirementStateOrBuilder- Returns:
- The state.
-
getStateBytes
public com.google.protobuf.ByteString getStateBytes()
Indicates the high availability requirement state for the VPN connection. Valid values are CONNECTION_REDUNDANCY_MET, CONNECTION_REDUNDANCY_NOT_MET. Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
getStateBytesin interfaceVpnGatewayStatusHighAvailabilityRequirementStateOrBuilder- Returns:
- The bytes for state.
-
setState
public VpnGatewayStatusHighAvailabilityRequirementState.Builder setState(String value)
Indicates the high availability requirement state for the VPN connection. Valid values are CONNECTION_REDUNDANCY_MET, CONNECTION_REDUNDANCY_NOT_MET. Check the State enum for the list of possible values.
optional string state = 109757585;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public VpnGatewayStatusHighAvailabilityRequirementState.Builder clearState()
Indicates the high availability requirement state for the VPN connection. Valid values are CONNECTION_REDUNDANCY_MET, CONNECTION_REDUNDANCY_NOT_MET. Check the State enum for the list of possible values.
optional string state = 109757585;- Returns:
- This builder for chaining.
-
setStateBytes
public VpnGatewayStatusHighAvailabilityRequirementState.Builder setStateBytes(com.google.protobuf.ByteString value)
Indicates the high availability requirement state for the VPN connection. Valid values are CONNECTION_REDUNDANCY_MET, CONNECTION_REDUNDANCY_NOT_MET. Check the State enum for the list of possible values.
optional string state = 109757585;- Parameters:
value- The bytes for state to set.- Returns:
- This builder for chaining.
-
hasUnsatisfiedReason
public boolean hasUnsatisfiedReason()
Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values is INCOMPLETE_TUNNELS_COVERAGE. Check the UnsatisfiedReason enum for the list of possible values.
optional string unsatisfied_reason = 55016330;- Specified by:
hasUnsatisfiedReasonin interfaceVpnGatewayStatusHighAvailabilityRequirementStateOrBuilder- Returns:
- Whether the unsatisfiedReason field is set.
-
getUnsatisfiedReason
public String getUnsatisfiedReason()
Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values is INCOMPLETE_TUNNELS_COVERAGE. Check the UnsatisfiedReason enum for the list of possible values.
optional string unsatisfied_reason = 55016330;- Specified by:
getUnsatisfiedReasonin interfaceVpnGatewayStatusHighAvailabilityRequirementStateOrBuilder- Returns:
- The unsatisfiedReason.
-
getUnsatisfiedReasonBytes
public com.google.protobuf.ByteString getUnsatisfiedReasonBytes()
Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values is INCOMPLETE_TUNNELS_COVERAGE. Check the UnsatisfiedReason enum for the list of possible values.
optional string unsatisfied_reason = 55016330;- Specified by:
getUnsatisfiedReasonBytesin interfaceVpnGatewayStatusHighAvailabilityRequirementStateOrBuilder- Returns:
- The bytes for unsatisfiedReason.
-
setUnsatisfiedReason
public VpnGatewayStatusHighAvailabilityRequirementState.Builder setUnsatisfiedReason(String value)
Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values is INCOMPLETE_TUNNELS_COVERAGE. Check the UnsatisfiedReason enum for the list of possible values.
optional string unsatisfied_reason = 55016330;- Parameters:
value- The unsatisfiedReason to set.- Returns:
- This builder for chaining.
-
clearUnsatisfiedReason
public VpnGatewayStatusHighAvailabilityRequirementState.Builder clearUnsatisfiedReason()
Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values is INCOMPLETE_TUNNELS_COVERAGE. Check the UnsatisfiedReason enum for the list of possible values.
optional string unsatisfied_reason = 55016330;- Returns:
- This builder for chaining.
-
setUnsatisfiedReasonBytes
public VpnGatewayStatusHighAvailabilityRequirementState.Builder setUnsatisfiedReasonBytes(com.google.protobuf.ByteString value)
Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values is INCOMPLETE_TUNNELS_COVERAGE. Check the UnsatisfiedReason enum for the list of possible values.
optional string unsatisfied_reason = 55016330;- Parameters:
value- The bytes for unsatisfiedReason to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final VpnGatewayStatusHighAvailabilityRequirementState.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
mergeUnknownFields
public final VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
-