public static final class VpnTunnelPhase2Algorithms.Builder extends GeneratedMessageV3.Builder<VpnTunnelPhase2Algorithms.Builder> implements VpnTunnelPhase2AlgorithmsOrBuilder
Protobuf type google.cloud.compute.v1.VpnTunnelPhase2Algorithms
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The bytes of the pfs to add. |
Returns | |
---|---|
Type | Description |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VpnTunnelPhase2Algorithms.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
VpnTunnelPhase2Algorithms.Builder |
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. |
clearField(Descriptors.FieldDescriptor field)
public VpnTunnelPhase2Algorithms.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
VpnTunnelPhase2Algorithms.Builder |
clearIntegrity()
public VpnTunnelPhase2Algorithms.Builder clearIntegrity()
repeated string integrity = 492830541;
Returns | |
---|---|
Type | Description |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VpnTunnelPhase2Algorithms.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
VpnTunnelPhase2Algorithms.Builder |
clearPfs()
public VpnTunnelPhase2Algorithms.Builder clearPfs()
repeated string pfs = 110909;
Returns | |
---|---|
Type | Description |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |
clone()
public VpnTunnelPhase2Algorithms.Builder clone()
Returns | |
---|---|
Type | Description |
VpnTunnelPhase2Algorithms.Builder |
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 |
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. |
getPfs(int index)
public String getPfs(int index)
repeated string pfs = 110909;
Parameter | |
---|---|
Name | Description |
index |
int The 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 |
int The 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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpnTunnelPhase2Algorithms.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
int The index to set the value at. |
value |
String The encryption to set. |
Returns | |
---|---|
Type | Description |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VpnTunnelPhase2Algorithms.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
VpnTunnelPhase2Algorithms.Builder |
setIntegrity(int index, String value)
public VpnTunnelPhase2Algorithms.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 |
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 |
int The index to set the value at. |
value |
String The pfs to set. |
Returns | |
---|---|
Type | Description |
VpnTunnelPhase2Algorithms.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VpnTunnelPhase2Algorithms.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
VpnTunnelPhase2Algorithms.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VpnTunnelPhase2Algorithms.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VpnTunnelPhase2Algorithms.Builder |