public final class VpnGatewayStatusHighAvailabilityRequirementState extends GeneratedMessageV3 implements VpnGatewayStatusHighAvailabilityRequirementStateOrBuilder
Describes the high availability requirement state for the VPN connection between this Cloud VPN gateway and a peer gateway.
Protobuf type google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState
Static Fields
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
UNSATISFIED_REASON_FIELD_NUMBER
public static final int UNSATISFIED_REASON_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static VpnGatewayStatusHighAvailabilityRequirementState getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static VpnGatewayStatusHighAvailabilityRequirementState.Builder newBuilder()
Returns
newBuilder(VpnGatewayStatusHighAvailabilityRequirementState prototype)
public static VpnGatewayStatusHighAvailabilityRequirementState.Builder newBuilder(VpnGatewayStatusHighAvailabilityRequirementState prototype)
Parameter
Returns
public static VpnGatewayStatusHighAvailabilityRequirementState parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VpnGatewayStatusHighAvailabilityRequirementState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<VpnGatewayStatusHighAvailabilityRequirementState> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public VpnGatewayStatusHighAvailabilityRequirementState getDefaultInstanceForType()
Returns
getParserForType()
public Parser<VpnGatewayStatusHighAvailabilityRequirementState> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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;
Returns
Type | Description |
String | The state.
|
getStateBytes()
public 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;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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;
Returns
Type | Description |
String | The unsatisfiedReason.
|
getUnsatisfiedReasonBytes()
public 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;
Returns
Type | Description |
ByteString | The bytes for unsatisfiedReason.
|
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;
Returns
Type | Description |
boolean | Whether the state field is set.
|
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;
Returns
Type | Description |
boolean | Whether the unsatisfiedReason field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public VpnGatewayStatusHighAvailabilityRequirementState.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VpnGatewayStatusHighAvailabilityRequirementState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public VpnGatewayStatusHighAvailabilityRequirementState.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions