Package io.grpc.alts.internal
Interface ServerHandshakeParametersOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServerHandshakeParameters,ServerHandshakeParameters.Builder
public interface ServerHandshakeParametersOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IdentitygetLocalIdentities(int index)(Optional) A list of local identities supported by the server, if specified.intgetLocalIdentitiesCount()(Optional) A list of local identities supported by the server, if specified.java.util.List<Identity>getLocalIdentitiesList()(Optional) A list of local identities supported by the server, if specified.IdentityOrBuildergetLocalIdentitiesOrBuilder(int index)(Optional) A list of local identities supported by the server, if specified.java.util.List<? extends IdentityOrBuilder>getLocalIdentitiesOrBuilderList()(Optional) A list of local identities supported by the server, if specified.java.lang.StringgetRecordProtocols(int index)The record protocols supported by the server, e.g., "ALTSRP_GCM_AES128".com.google.protobuf.ByteStringgetRecordProtocolsBytes(int index)The record protocols supported by the server, e.g., "ALTSRP_GCM_AES128".intgetRecordProtocolsCount()The record protocols supported by the server, e.g., "ALTSRP_GCM_AES128".java.util.List<java.lang.String>getRecordProtocolsList()The record protocols supported by the server, e.g., "ALTSRP_GCM_AES128".-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRecordProtocolsList
java.util.List<java.lang.String> getRecordProtocolsList()
The record protocols supported by the server, e.g., "ALTSRP_GCM_AES128".
repeated string record_protocols = 1;- Returns:
- A list containing the recordProtocols.
-
getRecordProtocolsCount
int getRecordProtocolsCount()
The record protocols supported by the server, e.g., "ALTSRP_GCM_AES128".
repeated string record_protocols = 1;- Returns:
- The count of recordProtocols.
-
getRecordProtocols
java.lang.String getRecordProtocols(int index)
The record protocols supported by the server, e.g., "ALTSRP_GCM_AES128".
repeated string record_protocols = 1;- Parameters:
index- The index of the element to return.- Returns:
- The recordProtocols at the given index.
-
getRecordProtocolsBytes
com.google.protobuf.ByteString getRecordProtocolsBytes(int index)
The record protocols supported by the server, e.g., "ALTSRP_GCM_AES128".
repeated string record_protocols = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the recordProtocols at the given index.
-
getLocalIdentitiesList
java.util.List<Identity> getLocalIdentitiesList()
(Optional) A list of local identities supported by the server, if specified. Otherwise, the handshaker chooses a default local identity.
repeated .grpc.gcp.Identity local_identities = 2;
-
getLocalIdentities
Identity getLocalIdentities(int index)
(Optional) A list of local identities supported by the server, if specified. Otherwise, the handshaker chooses a default local identity.
repeated .grpc.gcp.Identity local_identities = 2;
-
getLocalIdentitiesCount
int getLocalIdentitiesCount()
(Optional) A list of local identities supported by the server, if specified. Otherwise, the handshaker chooses a default local identity.
repeated .grpc.gcp.Identity local_identities = 2;
-
getLocalIdentitiesOrBuilderList
java.util.List<? extends IdentityOrBuilder> getLocalIdentitiesOrBuilderList()
(Optional) A list of local identities supported by the server, if specified. Otherwise, the handshaker chooses a default local identity.
repeated .grpc.gcp.Identity local_identities = 2;
-
getLocalIdentitiesOrBuilder
IdentityOrBuilder getLocalIdentitiesOrBuilder(int index)
(Optional) A list of local identities supported by the server, if specified. Otherwise, the handshaker chooses a default local identity.
repeated .grpc.gcp.Identity local_identities = 2;
-
-