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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VpnGatewayStatusHighAvailabilityRequirementState
build()
VpnGatewayStatusHighAvailabilityRequirementState
buildPartial()
VpnGatewayStatusHighAvailabilityRequirementState.Builder
clear()
VpnGatewayStatusHighAvailabilityRequirementState.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
VpnGatewayStatusHighAvailabilityRequirementState.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
VpnGatewayStatusHighAvailabilityRequirementState.Builder
clearState()
Indicates the high availability requirement state for the VPN connection.VpnGatewayStatusHighAvailabilityRequirementState.Builder
clearUnsatisfiedReason()
Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement.VpnGatewayStatusHighAvailabilityRequirementState.Builder
clone()
VpnGatewayStatusHighAvailabilityRequirementState
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getState()
Indicates the high availability requirement state for the VPN connection.com.google.protobuf.ByteString
getStateBytes()
Indicates the high availability requirement state for the VPN connection.String
getUnsatisfiedReason()
Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement.com.google.protobuf.ByteString
getUnsatisfiedReasonBytes()
Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement.boolean
hasState()
Indicates the high availability requirement state for the VPN connection.boolean
hasUnsatisfiedReason()
Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
VpnGatewayStatusHighAvailabilityRequirementState.Builder
mergeFrom(VpnGatewayStatusHighAvailabilityRequirementState other)
VpnGatewayStatusHighAvailabilityRequirementState.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VpnGatewayStatusHighAvailabilityRequirementState.Builder
mergeFrom(com.google.protobuf.Message other)
VpnGatewayStatusHighAvailabilityRequirementState.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
VpnGatewayStatusHighAvailabilityRequirementState.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VpnGatewayStatusHighAvailabilityRequirementState.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
VpnGatewayStatusHighAvailabilityRequirementState.Builder
setState(String value)
Indicates the high availability requirement state for the VPN connection.VpnGatewayStatusHighAvailabilityRequirementState.Builder
setStateBytes(com.google.protobuf.ByteString value)
Indicates the high availability requirement state for the VPN connection.VpnGatewayStatusHighAvailabilityRequirementState.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
VpnGatewayStatusHighAvailabilityRequirementState.Builder
setUnsatisfiedReason(String value)
Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement.VpnGatewayStatusHighAvailabilityRequirementState.Builder
setUnsatisfiedReasonBytes(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
clear
public VpnGatewayStatusHighAvailabilityRequirementState.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
getDefaultInstanceForType
public VpnGatewayStatusHighAvailabilityRequirementState getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VpnGatewayStatusHighAvailabilityRequirementState build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VpnGatewayStatusHighAvailabilityRequirementState buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VpnGatewayStatusHighAvailabilityRequirementState.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
setField
public VpnGatewayStatusHighAvailabilityRequirementState.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
clearField
public VpnGatewayStatusHighAvailabilityRequirementState.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
clearOneof
public VpnGatewayStatusHighAvailabilityRequirementState.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
setRepeatedField
public VpnGatewayStatusHighAvailabilityRequirementState.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
addRepeatedField
public VpnGatewayStatusHighAvailabilityRequirementState.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
mergeFrom
public VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
mergeFrom
public VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeFrom(VpnGatewayStatusHighAvailabilityRequirementState other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasState
in 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:
getState
in 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:
getStateBytes
in 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:
hasUnsatisfiedReason
in 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:
getUnsatisfiedReason
in 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:
getUnsatisfiedReasonBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
mergeUnknownFields
public final VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder>
-
-