public static final class VpnTunnelPhase2Algorithms.Builder extends GeneratedMessage.Builder<VpnTunnelPhase2Algorithms.Builder> implements VpnTunnelPhase2AlgorithmsOrBuilder Protobuf type google.cloud.compute.v1.VpnTunnelPhase2Algorithms
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VpnTunnelPhase2Algorithms.BuilderImplements
VpnTunnelPhase2AlgorithmsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllEncryption(Iterable<String> values)
public VpnTunnelPhase2Algorithms.Builder addAllEncryption(Iterable<String> values)repeated string encryption = 97980291;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The encryption to add. |
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |
addAllIntegrity(Iterable<String> values)
public VpnTunnelPhase2Algorithms.Builder addAllIntegrity(Iterable<String> values)repeated string integrity = 492830541;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The integrity to add. |
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |
addAllPfs(Iterable<String> values)
public VpnTunnelPhase2Algorithms.Builder addAllPfs(Iterable<String> values)repeated string pfs = 110909;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The pfs to add. |
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |
addEncryption(String value)
public VpnTunnelPhase2Algorithms.Builder addEncryption(String value)repeated string encryption = 97980291;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe encryption to add. |
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |
addEncryptionBytes(ByteString value)
public VpnTunnelPhase2Algorithms.Builder addEncryptionBytes(ByteString value)repeated string encryption = 97980291;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the encryption to add. |
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |
addIntegrity(String value)
public VpnTunnelPhase2Algorithms.Builder addIntegrity(String value)repeated string integrity = 492830541;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe integrity to add. |
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |
addIntegrityBytes(ByteString value)
public VpnTunnelPhase2Algorithms.Builder addIntegrityBytes(ByteString value)repeated string integrity = 492830541;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the integrity to add. |
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |
addPfs(String value)
public VpnTunnelPhase2Algorithms.Builder addPfs(String value)repeated string pfs = 110909;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pfs to add. |
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |
addPfsBytes(ByteString value)
public VpnTunnelPhase2Algorithms.Builder addPfsBytes(ByteString value)repeated string pfs = 110909;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the pfs to add. |
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |
build()
public VpnTunnelPhase2Algorithms build()| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms |
|
buildPartial()
public VpnTunnelPhase2Algorithms buildPartial()| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms |
|
clear()
public VpnTunnelPhase2Algorithms.Builder clear()| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms.Builder |
|
clearEncryption()
public VpnTunnelPhase2Algorithms.Builder clearEncryption()repeated string encryption = 97980291;
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |
clearIntegrity()
public VpnTunnelPhase2Algorithms.Builder clearIntegrity()repeated string integrity = 492830541;
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |
clearPfs()
public VpnTunnelPhase2Algorithms.Builder clearPfs()repeated string pfs = 110909;
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public VpnTunnelPhase2Algorithms getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getPfs(int index)
public String getPfs(int index)repeated string pfs = 110909;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The pfs at the given index. |
getPfsBytes(int index)
public ByteString getPfsBytes(int index)repeated string pfs = 110909;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the pfs at the given index. |
getPfsCount()
public int getPfsCount()repeated string pfs = 110909;
| Returns | |
|---|---|
| Type | Description |
int |
The count of pfs. |
getPfsList()
public ProtocolStringList getPfsList()repeated string pfs = 110909;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the pfs. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(VpnTunnelPhase2Algorithms other)
public VpnTunnelPhase2Algorithms.Builder mergeFrom(VpnTunnelPhase2Algorithms other)| Parameter | |
|---|---|
| Name | Description |
other |
VpnTunnelPhase2Algorithms |
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VpnTunnelPhase2Algorithms.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VpnTunnelPhase2Algorithms.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms.Builder |
|
setEncryption(int index, String value)
public VpnTunnelPhase2Algorithms.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 |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |
setIntegrity(int index, String value)
public VpnTunnelPhase2Algorithms.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 |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |
setPfs(int index, String value)
public VpnTunnelPhase2Algorithms.Builder setPfs(int index, String value)repeated string pfs = 110909;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe pfs to set. |
| Returns | |
|---|---|
| Type | Description |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |