Class VpnTunnelPhase1Algorithms.Builder (1.91.0)

public static final class VpnTunnelPhase1Algorithms.Builder extends GeneratedMessageV3.Builder<VpnTunnelPhase1Algorithms.Builder> implements VpnTunnelPhase1AlgorithmsOrBuilder

Protobuf type google.cloud.compute.v1.VpnTunnelPhase1Algorithms

Static Methods

getDescriptor()

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

Methods

addAllDh(Iterable<String> values)

public VpnTunnelPhase1Algorithms.Builder addAllDh(Iterable<String> values)

repeated string dh = 3204;

Parameter
Name Description
values Iterable<String>

The dh to add.

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

addAllEncryption(Iterable<String> values)

public VpnTunnelPhase1Algorithms.Builder addAllEncryption(Iterable<String> values)

repeated string encryption = 97980291;

Parameter
Name Description
values Iterable<String>

The encryption to add.

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

addAllIntegrity(Iterable<String> values)

public VpnTunnelPhase1Algorithms.Builder addAllIntegrity(Iterable<String> values)

repeated string integrity = 492830541;

Parameter
Name Description
values Iterable<String>

The integrity to add.

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

addAllPrf(Iterable<String> values)

public VpnTunnelPhase1Algorithms.Builder addAllPrf(Iterable<String> values)

repeated string prf = 111268;

Parameter
Name Description
values Iterable<String>

The prf to add.

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

addDh(String value)

public VpnTunnelPhase1Algorithms.Builder addDh(String value)

repeated string dh = 3204;

Parameter
Name Description
value String

The dh to add.

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

addDhBytes(ByteString value)

public VpnTunnelPhase1Algorithms.Builder addDhBytes(ByteString value)

repeated string dh = 3204;

Parameter
Name Description
value ByteString

The bytes of the dh to add.

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

addEncryption(String value)

public VpnTunnelPhase1Algorithms.Builder addEncryption(String value)

repeated string encryption = 97980291;

Parameter
Name Description
value String

The encryption to add.

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

addEncryptionBytes(ByteString value)

public VpnTunnelPhase1Algorithms.Builder addEncryptionBytes(ByteString value)

repeated string encryption = 97980291;

Parameter
Name Description
value ByteString

The bytes of the encryption to add.

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

addIntegrity(String value)

public VpnTunnelPhase1Algorithms.Builder addIntegrity(String value)

repeated string integrity = 492830541;

Parameter
Name Description
value String

The integrity to add.

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

addIntegrityBytes(ByteString value)

public VpnTunnelPhase1Algorithms.Builder addIntegrityBytes(ByteString value)

repeated string integrity = 492830541;

Parameter
Name Description
value ByteString

The bytes of the integrity to add.

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

addPrf(String value)

public VpnTunnelPhase1Algorithms.Builder addPrf(String value)

repeated string prf = 111268;

Parameter
Name Description
value String

The prf to add.

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

addPrfBytes(ByteString value)

public VpnTunnelPhase1Algorithms.Builder addPrfBytes(ByteString value)

repeated string prf = 111268;

Parameter
Name Description
value ByteString

The bytes of the prf to add.

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VpnTunnelPhase1Algorithms build()
Returns
Type Description
VpnTunnelPhase1Algorithms

buildPartial()

public VpnTunnelPhase1Algorithms buildPartial()
Returns
Type Description
VpnTunnelPhase1Algorithms

clear()

public VpnTunnelPhase1Algorithms.Builder clear()
Returns
Type Description
VpnTunnelPhase1Algorithms.Builder
Overrides

clearDh()

public VpnTunnelPhase1Algorithms.Builder clearDh()

repeated string dh = 3204;

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

clearEncryption()

public VpnTunnelPhase1Algorithms.Builder clearEncryption()

repeated string encryption = 97980291;

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIntegrity()

public VpnTunnelPhase1Algorithms.Builder clearIntegrity()

repeated string integrity = 492830541;

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VpnTunnelPhase1Algorithms.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VpnTunnelPhase1Algorithms.Builder
Overrides

clearPrf()

public VpnTunnelPhase1Algorithms.Builder clearPrf()

repeated string prf = 111268;

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public VpnTunnelPhase1Algorithms getDefaultInstanceForType()
Returns
Type Description
VpnTunnelPhase1Algorithms

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDh(int index)

public String getDh(int index)

repeated string dh = 3204;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The dh at the given index.