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
Modifier and TypeMethodDescriptiongetLocalIdentities
(int index) (Optional) A list of local identities supported by the server, if specified.int
(Optional) A list of local identities supported by the server, if specified.(Optional) A list of local identities supported by the server, if specified.getLocalIdentitiesOrBuilder
(int index) (Optional) A list of local identities supported by the server, if specified.List
<? extends IdentityOrBuilder> (Optional) A list of local identities supported by the server, if specified.getRecordProtocols
(int index) The record protocols supported by the server, e.g., "ALTSRP_GCM_AES128".com.google.protobuf.ByteString
getRecordProtocolsBytes
(int index) The record protocols supported by the server, e.g., "ALTSRP_GCM_AES128".int
The record protocols supported by the server, e.g., "ALTSRP_GCM_AES128".The record protocols supported by the server, e.g., "ALTSRP_GCM_AES128".Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
(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
(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
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
(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;
-