Interface StartClientHandshakeReqOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    StartClientHandshakeReq, StartClientHandshakeReq.Builder

    public interface StartClientHandshakeReqOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getHandshakeSecurityProtocolValue

        int getHandshakeSecurityProtocolValue()
         Handshake security protocol requested by the client.
         
        .grpc.gcp.HandshakeProtocol handshake_security_protocol = 1;
        Returns:
        The enum numeric value on the wire for handshakeSecurityProtocol.
      • getHandshakeSecurityProtocol

        HandshakeProtocol getHandshakeSecurityProtocol()
         Handshake security protocol requested by the client.
         
        .grpc.gcp.HandshakeProtocol handshake_security_protocol = 1;
        Returns:
        The handshakeSecurityProtocol.
      • getApplicationProtocolsList

        java.util.List<java.lang.String> getApplicationProtocolsList()
         The application protocols supported by the client, e.g., "h2" (for http2),
         "grpc".
         
        repeated string application_protocols = 2;
        Returns:
        A list containing the applicationProtocols.
      • getApplicationProtocolsCount

        int getApplicationProtocolsCount()
         The application protocols supported by the client, e.g., "h2" (for http2),
         "grpc".
         
        repeated string application_protocols = 2;
        Returns:
        The count of applicationProtocols.
      • getApplicationProtocols

        java.lang.String getApplicationProtocols​(int index)
         The application protocols supported by the client, e.g., "h2" (for http2),
         "grpc".
         
        repeated string application_protocols = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The applicationProtocols at the given index.
      • getApplicationProtocolsBytes

        com.google.protobuf.ByteString getApplicationProtocolsBytes​(int index)
         The application protocols supported by the client, e.g., "h2" (for http2),
         "grpc".
         
        repeated string application_protocols = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the applicationProtocols at the given index.
      • getRecordProtocolsList

        java.util.List<java.lang.String> getRecordProtocolsList()
         The record protocols supported by the client, e.g.,
         "ALTSRP_GCM_AES128".
         
        repeated string record_protocols = 3;
        Returns:
        A list containing the recordProtocols.
      • getRecordProtocolsCount

        int getRecordProtocolsCount()
         The record protocols supported by the client, e.g.,
         "ALTSRP_GCM_AES128".
         
        repeated string record_protocols = 3;
        Returns:
        The count of recordProtocols.
      • getRecordProtocols

        java.lang.String getRecordProtocols​(int index)
         The record protocols supported by the client, e.g.,
         "ALTSRP_GCM_AES128".
         
        repeated string record_protocols = 3;
        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 client, e.g.,
         "ALTSRP_GCM_AES128".
         
        repeated string record_protocols = 3;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the recordProtocols at the given index.
      • getTargetIdentitiesList

        java.util.List<Identity> getTargetIdentitiesList()
         (Optional) Describes which server identities are acceptable by the client.
         If target identities are provided and none of them matches the peer
         identity of the server, handshake will fail.
         
        repeated .grpc.gcp.Identity target_identities = 4;
      • getTargetIdentities

        Identity getTargetIdentities​(int index)
         (Optional) Describes which server identities are acceptable by the client.
         If target identities are provided and none of them matches the peer
         identity of the server, handshake will fail.
         
        repeated .grpc.gcp.Identity target_identities = 4;
      • getTargetIdentitiesCount

        int getTargetIdentitiesCount()
         (Optional) Describes which server identities are acceptable by the client.
         If target identities are provided and none of them matches the peer
         identity of the server, handshake will fail.
         
        repeated .grpc.gcp.Identity target_identities = 4;
      • getTargetIdentitiesOrBuilderList

        java.util.List<? extends IdentityOrBuilder> getTargetIdentitiesOrBuilderList()
         (Optional) Describes which server identities are acceptable by the client.
         If target identities are provided and none of them matches the peer
         identity of the server, handshake will fail.
         
        repeated .grpc.gcp.Identity target_identities = 4;
      • getTargetIdentitiesOrBuilder

        IdentityOrBuilder getTargetIdentitiesOrBuilder​(int index)
         (Optional) Describes which server identities are acceptable by the client.
         If target identities are provided and none of them matches the peer
         identity of the server, handshake will fail.
         
        repeated .grpc.gcp.Identity target_identities = 4;
      • hasLocalIdentity

        boolean hasLocalIdentity()
         (Optional) Application may specify a local identity. Otherwise, the
         handshaker chooses a default local identity.
         
        .grpc.gcp.Identity local_identity = 5;
        Returns:
        Whether the localIdentity field is set.
      • getLocalIdentity

        Identity getLocalIdentity()
         (Optional) Application may specify a local identity. Otherwise, the
         handshaker chooses a default local identity.
         
        .grpc.gcp.Identity local_identity = 5;
        Returns:
        The localIdentity.
      • getLocalIdentityOrBuilder

        IdentityOrBuilder getLocalIdentityOrBuilder()
         (Optional) Application may specify a local identity. Otherwise, the
         handshaker chooses a default local identity.
         
        .grpc.gcp.Identity local_identity = 5;
      • hasLocalEndpoint

        boolean hasLocalEndpoint()
         (Optional) Local endpoint information of the connection to the server,
         such as local IP address, port number, and network protocol.
         
        .grpc.gcp.Endpoint local_endpoint = 6;
        Returns:
        Whether the localEndpoint field is set.
      • getLocalEndpoint

        Endpoint getLocalEndpoint()
         (Optional) Local endpoint information of the connection to the server,
         such as local IP address, port number, and network protocol.
         
        .grpc.gcp.Endpoint local_endpoint = 6;
        Returns:
        The localEndpoint.
      • getLocalEndpointOrBuilder

        EndpointOrBuilder getLocalEndpointOrBuilder()
         (Optional) Local endpoint information of the connection to the server,
         such as local IP address, port number, and network protocol.
         
        .grpc.gcp.Endpoint local_endpoint = 6;
      • hasRemoteEndpoint

        boolean hasRemoteEndpoint()
         (Optional) Endpoint information of the remote server, such as IP address,
         port number, and network protocol.
         
        .grpc.gcp.Endpoint remote_endpoint = 7;
        Returns:
        Whether the remoteEndpoint field is set.
      • getRemoteEndpoint

        Endpoint getRemoteEndpoint()
         (Optional) Endpoint information of the remote server, such as IP address,
         port number, and network protocol.
         
        .grpc.gcp.Endpoint remote_endpoint = 7;
        Returns:
        The remoteEndpoint.
      • getRemoteEndpointOrBuilder

        EndpointOrBuilder getRemoteEndpointOrBuilder()
         (Optional) Endpoint information of the remote server, such as IP address,
         port number, and network protocol.
         
        .grpc.gcp.Endpoint remote_endpoint = 7;
      • getTargetName

        java.lang.String getTargetName()
         (Optional) If target name is provided, a secure naming check is performed
         to verify that the peer authenticated identity is indeed authorized to run
         the target name.
         
        string target_name = 8;
        Returns:
        The targetName.
      • getTargetNameBytes

        com.google.protobuf.ByteString getTargetNameBytes()
         (Optional) If target name is provided, a secure naming check is performed
         to verify that the peer authenticated identity is indeed authorized to run
         the target name.
         
        string target_name = 8;
        Returns:
        The bytes for targetName.
      • hasRpcVersions

        boolean hasRpcVersions()
         (Optional) RPC protocol versions supported by the client.
         
        .grpc.gcp.RpcProtocolVersions rpc_versions = 9;
        Returns:
        Whether the rpcVersions field is set.
      • getRpcVersions

        RpcProtocolVersions getRpcVersions()
         (Optional) RPC protocol versions supported by the client.
         
        .grpc.gcp.RpcProtocolVersions rpc_versions = 9;
        Returns:
        The rpcVersions.
      • getRpcVersionsOrBuilder

        RpcProtocolVersionsOrBuilder getRpcVersionsOrBuilder()
         (Optional) RPC protocol versions supported by the client.
         
        .grpc.gcp.RpcProtocolVersions rpc_versions = 9;
      • getMaxFrameSize

        int getMaxFrameSize()
         (Optional) Maximum frame size supported by the client.
         
        uint32 max_frame_size = 10;
        Returns:
        The maxFrameSize.