Class VpnGatewayStatusHighAvailabilityRequirementState (1.7.2)

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
TypeDescription
int

UNSATISFIED_REASON_FIELD_NUMBER

public static final int UNSATISFIED_REASON_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VpnGatewayStatusHighAvailabilityRequirementState getDefaultInstance()
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VpnGatewayStatusHighAvailabilityRequirementState.Builder newBuilder()
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState.Builder

newBuilder(VpnGatewayStatusHighAvailabilityRequirementState prototype)

public static VpnGatewayStatusHighAvailabilityRequirementState.Builder newBuilder(VpnGatewayStatusHighAvailabilityRequirementState prototype)
Parameter
NameDescription
prototypeVpnGatewayStatusHighAvailabilityRequirementState
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState.Builder

parseDelimitedFrom(InputStream input)

public static VpnGatewayStatusHighAvailabilityRequirementState parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VpnGatewayStatusHighAvailabilityRequirementState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VpnGatewayStatusHighAvailabilityRequirementState> parser()
Returns
TypeDescription
Parser<VpnGatewayStatusHighAvailabilityRequirementState>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public VpnGatewayStatusHighAvailabilityRequirementState getDefaultInstanceForType()
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState

getParserForType()

public Parser<VpnGatewayStatusHighAvailabilityRequirementState> getParserForType()
Returns
TypeDescription
Parser<VpnGatewayStatusHighAvailabilityRequirementState>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for state.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the unsatisfiedReason field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VpnGatewayStatusHighAvailabilityRequirementState.Builder newBuilderForType()
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VpnGatewayStatusHighAvailabilityRequirementState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VpnGatewayStatusHighAvailabilityRequirementState.Builder toBuilder()
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException