public static final class VpnGatewayStatusHighAvailabilityRequirementState.Builder extends GeneratedMessageV3.Builder<VpnGatewayStatusHighAvailabilityRequirementState.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public VpnGatewayStatusHighAvailabilityRequirementState build()
Returns
buildPartial()
public VpnGatewayStatusHighAvailabilityRequirementState buildPartial()
Returns
clear()
public VpnGatewayStatusHighAvailabilityRequirementState.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
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
clone()
public VpnGatewayStatusHighAvailabilityRequirementState.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public VpnGatewayStatusHighAvailabilityRequirementState getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(VpnGatewayStatusHighAvailabilityRequirementState other)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeFrom(VpnGatewayStatusHighAvailabilityRequirementState other)
Parameter
Returns
public VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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 | String
The state to set.
|
Returns
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 | ByteString
The bytes for state to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final VpnGatewayStatusHighAvailabilityRequirementState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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 | String
The unsatisfiedReason to set.
|
Returns
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 | ByteString
The bytes for unsatisfiedReason to set.
|
Returns