Class Alts.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
io.envoyproxy.envoy.extensions.transport_sockets.alts.v3.Alts.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AltsOrBuilder,Cloneable
- Enclosing class:
- Alts
public static final class Alts.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
implements AltsOrBuilder
Configuration for ALTS transport socket. This provides Google's ALTS protocol to Envoy. Store the peer identity in dynamic metadata, namespace is "envoy.transport_socket.peer_information", key is "peer_identity". https://cloud.google.com/security/encryption-in-transit/application-layer-transport-security/Protobuf type
envoy.extensions.transport_sockets.alts.v3.Alts-
Method Summary
Modifier and TypeMethodDescriptionaddAllPeerServiceAccounts(Iterable<String> values) The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step.addPeerServiceAccounts(String value) The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step.addPeerServiceAccountsBytes(com.google.protobuf.ByteString value) The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The location of a handshaker service, this is usually 169.254.169.254:8080 on GCE.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe location of a handshaker service, this is usually 169.254.169.254:8080 on GCE.com.google.protobuf.ByteStringThe location of a handshaker service, this is usually 169.254.169.254:8080 on GCE.getPeerServiceAccounts(int index) The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step.com.google.protobuf.ByteStringgetPeerServiceAccountsBytes(int index) The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step.intThe acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step.com.google.protobuf.ProtocolStringListThe acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final Alts.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setHandshakerService(String value) The location of a handshaker service, this is usually 169.254.169.254:8080 on GCE.setHandshakerServiceBytes(com.google.protobuf.ByteString value) The location of a handshaker service, this is usually 169.254.169.254:8080 on GCE.setPeerServiceAccounts(int index, String value) The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final Alts.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
-
setField
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
-
setRepeatedField
public Alts.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
-
addRepeatedField
public Alts.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Alts.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
-
mergeFrom
public Alts.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Alts.Builder>- Throws:
IOException
-
getHandshakerService
The location of a handshaker service, this is usually 169.254.169.254:8080 on GCE.
string handshaker_service = 1 [(.validate.rules) = { ... }- Specified by:
getHandshakerServicein interfaceAltsOrBuilder- Returns:
- The handshakerService.
-
getHandshakerServiceBytes
public com.google.protobuf.ByteString getHandshakerServiceBytes()The location of a handshaker service, this is usually 169.254.169.254:8080 on GCE.
string handshaker_service = 1 [(.validate.rules) = { ... }- Specified by:
getHandshakerServiceBytesin interfaceAltsOrBuilder- Returns:
- The bytes for handshakerService.
-
setHandshakerService
The location of a handshaker service, this is usually 169.254.169.254:8080 on GCE.
string handshaker_service = 1 [(.validate.rules) = { ... }- Parameters:
value- The handshakerService to set.- Returns:
- This builder for chaining.
-
clearHandshakerService
The location of a handshaker service, this is usually 169.254.169.254:8080 on GCE.
string handshaker_service = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setHandshakerServiceBytes
The location of a handshaker service, this is usually 169.254.169.254:8080 on GCE.
string handshaker_service = 1 [(.validate.rules) = { ... }- Parameters:
value- The bytes for handshakerService to set.- Returns:
- This builder for chaining.
-
getPeerServiceAccountsList
public com.google.protobuf.ProtocolStringList getPeerServiceAccountsList()The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step. If empty, no validation will be performed.
repeated string peer_service_accounts = 2;- Specified by:
getPeerServiceAccountsListin interfaceAltsOrBuilder- Returns:
- A list containing the peerServiceAccounts.
-
getPeerServiceAccountsCount
public int getPeerServiceAccountsCount()The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step. If empty, no validation will be performed.
repeated string peer_service_accounts = 2;- Specified by:
getPeerServiceAccountsCountin interfaceAltsOrBuilder- Returns:
- The count of peerServiceAccounts.
-
getPeerServiceAccounts
The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step. If empty, no validation will be performed.
repeated string peer_service_accounts = 2;- Specified by:
getPeerServiceAccountsin interfaceAltsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The peerServiceAccounts at the given index.
-
getPeerServiceAccountsBytes
public com.google.protobuf.ByteString getPeerServiceAccountsBytes(int index) The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step. If empty, no validation will be performed.
repeated string peer_service_accounts = 2;- Specified by:
getPeerServiceAccountsBytesin interfaceAltsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the peerServiceAccounts at the given index.
-
setPeerServiceAccounts
The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step. If empty, no validation will be performed.
repeated string peer_service_accounts = 2;- Parameters:
index- The index to set the value at.value- The peerServiceAccounts to set.- Returns:
- This builder for chaining.
-
addPeerServiceAccounts
The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step. If empty, no validation will be performed.
repeated string peer_service_accounts = 2;- Parameters:
value- The peerServiceAccounts to add.- Returns:
- This builder for chaining.
-
addAllPeerServiceAccounts
The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step. If empty, no validation will be performed.
repeated string peer_service_accounts = 2;- Parameters:
values- The peerServiceAccounts to add.- Returns:
- This builder for chaining.
-
clearPeerServiceAccounts
The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step. If empty, no validation will be performed.
repeated string peer_service_accounts = 2;- Returns:
- This builder for chaining.
-
addPeerServiceAccountsBytes
The acceptable service accounts from peer, peers not in the list will be rejected in the handshake validation step. If empty, no validation will be performed.
repeated string peer_service_accounts = 2;- Parameters:
value- The bytes of the peerServiceAccounts to add.- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Alts.Builder>
-