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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VpnGatewayStatusHighAvailabilityRequirementState.Builder newBuilder()
newBuilder(VpnGatewayStatusHighAvailabilityRequirementState prototype)
public static VpnGatewayStatusHighAvailabilityRequirementState.Builder newBuilder(VpnGatewayStatusHighAvailabilityRequirementState prototype)
public static VpnGatewayStatusHighAvailabilityRequirementState parseDelimitedFrom(InputStream input)
public static VpnGatewayStatusHighAvailabilityRequirementState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(CodedInputStream input)
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(InputStream input)
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusHighAvailabilityRequirementState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VpnGatewayStatusHighAvailabilityRequirementState> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public VpnGatewayStatusHighAvailabilityRequirementState getDefaultInstanceForType()
getParserForType()
public Parser<VpnGatewayStatusHighAvailabilityRequirementState> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VpnGatewayStatusHighAvailabilityRequirementState.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VpnGatewayStatusHighAvailabilityRequirementState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public VpnGatewayStatusHighAvailabilityRequirementState.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides