public static final class VpnTunnelPhase1Algorithms.Builder extends GeneratedMessage.Builder<VpnTunnelPhase1Algorithms.Builder> implements VpnTunnelPhase1AlgorithmsOrBuilder Protobuf type google.cloud.compute.v1.VpnTunnelPhase1Algorithms
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VpnTunnelPhase1Algorithms.BuilderImplements
VpnTunnelPhase1AlgorithmsOrBuilderStatic 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes of the prf to add. |
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase1Algorithms.Builder |
This builder for chaining. |
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 |
|
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. |
clearIntegrity()
public VpnTunnelPhase1Algorithms.Builder clearIntegrity()repeated string integrity = 492830541;
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase1Algorithms.Builder |
This builder for chaining. |
clearPrf()
public VpnTunnelPhase1Algorithms.Builder clearPrf()repeated string prf = 111268;
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase1Algorithms.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public VpnTunnelPhase1Algorithms getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase1Algorithms |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDh(int index)
public String getDh(int index)repeated string dh = 3204;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VpnTunnelPhase1Algorithms.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase1Algorithms.Builder |
|
setDh(int index, String value)
public VpnTunnelPhase1Algorithms.Builder setDh(int index, String value)repeated string dh = 3204;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe 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 |
intThe index to set the value at. |
value |
StringThe encryption to set. |
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase1Algorithms.Builder |
This builder for chaining. |
setIntegrity(int index, String value)
public VpnTunnelPhase1Algorithms.Builder setIntegrity(int index, String value)repeated string integrity = 492830541;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe 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 |
intThe index to set the value at. |
value |
StringThe prf to set. |
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase1Algorithms.Builder |
This builder for chaining. |