Class VpnTunnelPhase1Algorithms.Builder (1.85.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.

getDhBytes(int index)

public ByteString getDhBytes(int index)

repeated string dh = 3204;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the dh at the given index.

getDhCount()

public int getDhCount()

repeated string dh = 3204;

Returns
Type Description
int

The count of dh.

getDhList()

public ProtocolStringList getDhList()

repeated string dh = 3204;

Returns
Type Description
ProtocolStringList

A list containing the dh.

getEncryption(int index)

public String getEncryption(int index)

repeated string encryption = 97980291;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The encryption at the given index.

getEncryptionBytes(int index)

public ByteString getEncryptionBytes(int index)

repeated string encryption = 97980291;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the encryption at the given index.

getEncryptionCount()

public int getEncryptionCount()

repeated string encryption = 97980291;

Returns
Type Description
int

The count of encryption.

getEncryptionList()

public ProtocolStringList getEncryptionList()

repeated string encryption = 97980291;

Returns
Type Description
ProtocolStringList

A list containing the encryption.

getIntegrity(int index)

public String getIntegrity(int index)

repeated string integrity = 492830541;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The integrity at the given index.

getIntegrityBytes(int index)

public ByteString getIntegrityBytes(int index)

repeated string integrity = 492830541;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the integrity at the given index.

getIntegrityCount()

public int getIntegrityCount()

repeated string integrity = 492830541;

Returns
Type Description
int

The count of integrity.

getIntegrityList()

public ProtocolStringList getIntegrityList()

repeated string integrity = 492830541;

Returns
Type Description
ProtocolStringList

A list containing the integrity.

getPrf(int index)

public String getPrf(int index)

repeated string prf = 111268;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The prf at the given index.

getPrfBytes(int index)

public ByteString getPrfBytes(int index)

repeated string prf = 111268;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the prf at the given index.

getPrfCount()

public int getPrfCount()

repeated string prf = 111268;

Returns
Type Description
int

The count of prf.

getPrfList()

public ProtocolStringList getPrfList()

repeated string prf = 111268;

Returns
Type Description
ProtocolStringList

A list containing the prf.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VpnTunnelPhase1Algorithms other)

public VpnTunnelPhase1Algorithms.Builder mergeFrom(VpnTunnelPhase1Algorithms other)
Parameter
Name Description
other VpnTunnelPhase1Algorithms
Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VpnTunnelPhase1Algorithms.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VpnTunnelPhase1Algorithms.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDh(int index, String value)

public VpnTunnelPhase1Algorithms.Builder setDh(int index, String value)

repeated string dh = 3204;

Parameters
Name Description
index int

The index to set the value at.

value String

The dh to set.

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

setEncryption(int index, String value)

public VpnTunnelPhase1Algorithms.Builder setEncryption(int index, String value)

repeated string encryption = 97980291;

Parameters
Name Description
index int

The index to set the value at.

value String

The encryption to set.

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIntegrity(int index, String value)

public VpnTunnelPhase1Algorithms.Builder setIntegrity(int index, String value)

repeated string integrity = 492830541;

Parameters
Name Description
index int

The index to set the value at.

value String

The integrity to set.

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

setPrf(int index, String value)

public VpnTunnelPhase1Algorithms.Builder setPrf(int index, String value)

repeated string prf = 111268;

Parameters
Name Description
index int

The index to set the value at.

value String

The prf to set.

Returns
Type Description
VpnTunnelPhase1Algorithms.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final VpnTunnelPhase1Algorithms.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VpnTunnelPhase1Algorithms.Builder
Overrides