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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public VpnGatewayStatusHighAvailabilityRequirementState build()
buildPartial()
public VpnGatewayStatusHighAvailabilityRequirementState buildPartial()
clear()
public VpnGatewayStatusHighAvailabilityRequirementState.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
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;
clone()
public VpnGatewayStatusHighAvailabilityRequirementState.Builder clone()
Overrides
getDefaultInstanceForType()
public VpnGatewayStatusHighAvailabilityRequirementState getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(VpnGatewayStatusHighAvailabilityRequirementState other)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeFrom(VpnGatewayStatusHighAvailabilityRequirementState other)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VpnGatewayStatusHighAvailabilityRequirementState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final VpnGatewayStatusHighAvailabilityRequirementState.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|