Class VpnGatewayStatusHighAvailabilityRequirementState (1.53.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VpnGatewayStatusHighAvailabilityRequirementState

Static Fields

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

UNSATISFIED_REASON_FIELD_NUMBER

public static final int UNSATISFIED_REASON_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VpnGatewayStatusHighAvailabilityRequirementState getDefaultInstance()
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VpnGatewayStatusHighAvailabilityRequirementState.Builder newBuilder()
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState.Builder

newBuilder(VpnGatewayStatusHighAvailabilityRequirementState prototype)

public static VpnGatewayStatusHighAvailabilityRequirementState.Builder newBuilder(VpnGatewayStatusHighAvailabilityRequirementState prototype)
Parameter
Name Description
prototype VpnGatewayStatusHighAvailabilityRequirementState
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState.Builder

parseDelimitedFrom(InputStream input)

public static VpnGatewayStatusHighAvailabilityRequirementState parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VpnGatewayStatusHighAvailabilityRequirementState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VpnGatewayStatusHighAvailabilityRequirementState> parser()
Returns
Type Description
Parser<VpnGatewayStatusHighAvailabilityRequirementState>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public VpnGatewayStatusHighAvailabilityRequirementState getDefaultInstanceForType()
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState

getParserForType()

public Parser<VpnGatewayStatusHighAvailabilityRequirementState> getParserForType()
Returns
Type Description
Parser<VpnGatewayStatusHighAvailabilityRequirementState>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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;

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
Type Description
ByteString

The bytes for state.

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VpnGatewayStatusHighAvailabilityRequirementState.Builder newBuilderForType()
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VpnGatewayStatusHighAvailabilityRequirementState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VpnGatewayStatusHighAvailabilityRequirementState.Builder toBuilder()
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException