Class VpnGatewayStatusHighAvailabilityRequirementState.Builder (1.6.0-beta)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VpnGatewayStatusHighAvailabilityRequirementState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState.Builder
Overrides

build()

public VpnGatewayStatusHighAvailabilityRequirementState build()
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState

buildPartial()

public VpnGatewayStatusHighAvailabilityRequirementState buildPartial()
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState

clear()

public VpnGatewayStatusHighAvailabilityRequirementState.Builder clear()
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VpnGatewayStatusHighAvailabilityRequirementState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VpnGatewayStatusHighAvailabilityRequirementState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState.Builder

This builder for chaining.

clone()

public VpnGatewayStatusHighAvailabilityRequirementState.Builder clone()
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState.Builder
Overrides

getDefaultInstanceForType()

public VpnGatewayStatusHighAvailabilityRequirementState getDefaultInstanceForType()
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the unsatisfiedReason field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VpnGatewayStatusHighAvailabilityRequirementState other)

public VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeFrom(VpnGatewayStatusHighAvailabilityRequirementState other)
Parameter
NameDescription
otherVpnGatewayStatusHighAvailabilityRequirementState
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VpnGatewayStatusHighAvailabilityRequirementState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public VpnGatewayStatusHighAvailabilityRequirementState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState.Builder
Overrides

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

public VpnGatewayStatusHighAvailabilityRequirementState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The state to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for state to set.

Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final VpnGatewayStatusHighAvailabilityRequirementState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The unsatisfiedReason to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for unsatisfiedReason to set.

Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState.Builder

This builder for chaining.