Class VpnGatewayStatusHighAvailabilityRequirementState.Builder (1.56.0)

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VpnGatewayStatusHighAvailabilityRequirementState.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VpnGatewayStatusHighAvailabilityRequirementState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public VpnGatewayStatusHighAvailabilityRequirementState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VpnGatewayStatusHighAvailabilityRequirementState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState.Builder
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
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.

clone()

public VpnGatewayStatusHighAvailabilityRequirementState.Builder clone()
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState.Builder
Overrides

getDefaultInstanceForType()

public VpnGatewayStatusHighAvailabilityRequirementState getDefaultInstanceForType()
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public VpnGatewayStatusHighAvailabilityRequirementState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VpnGatewayStatusHighAvailabilityRequirementState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState.Builder
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
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 ByteString

The bytes for state to set.

Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final VpnGatewayStatusHighAvailabilityRequirementState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState.Builder
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
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 ByteString

The bytes for unsatisfiedReason to set.

Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState.Builder

This builder for chaining.