public static final class VpnGatewayStatusHighAvailabilityRequirementState.Builder extends GeneratedMessage.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder> implements VpnGatewayStatusHighAvailabilityRequirementStateOrBuilderDescribes 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
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VpnGatewayStatusHighAvailabilityRequirementState.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public VpnGatewayStatusHighAvailabilityRequirementState build()| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusHighAvailabilityRequirementState |
|
buildPartial()
public VpnGatewayStatusHighAvailabilityRequirementState buildPartial()| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusHighAvailabilityRequirementState |
|
clear()
public VpnGatewayStatusHighAvailabilityRequirementState.Builder clear()| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusHighAvailabilityRequirementState.Builder |
|
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 | |
|---|---|
| Type | Description |
VpnGatewayStatusHighAvailabilityRequirementState.Builder |
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 | |
|---|---|
| Type | Description |
VpnGatewayStatusHighAvailabilityRequirementState.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public VpnGatewayStatusHighAvailabilityRequirementState getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusHighAvailabilityRequirementState |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(VpnGatewayStatusHighAvailabilityRequirementState other)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeFrom(VpnGatewayStatusHighAvailabilityRequirementState other)| Parameter | |
|---|---|
| Name | Description |
other |
VpnGatewayStatusHighAvailabilityRequirementState |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusHighAvailabilityRequirementState.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusHighAvailabilityRequirementState.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusHighAvailabilityRequirementState.Builder |
|
setState(String value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe state to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusHighAvailabilityRequirementState.Builder |
This builder for chaining. |
setStateBytes(ByteString value)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder setStateBytes(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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for state to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusHighAvailabilityRequirementState.Builder |
This builder for chaining. |
setUnsatisfiedReason(String value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unsatisfiedReason to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusHighAvailabilityRequirementState.Builder |
This builder for chaining. |
setUnsatisfiedReasonBytes(ByteString value)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder setUnsatisfiedReasonBytes(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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for unsatisfiedReason to set. |
| Returns | |
|---|---|
| Type | Description |
VpnGatewayStatusHighAvailabilityRequirementState.Builder |
This builder for chaining. |