io.grpc.alts.internal.StartClientHandshakeReqOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: grpc/gcp/handshaker.proto
// Protobuf Java Version: 3.25.3
package io.grpc.alts.internal;
public interface StartClientHandshakeReqOrBuilder extends
// @@protoc_insertion_point(interface_extends:grpc.gcp.StartClientHandshakeReq)
com.google.protobuf.MessageOrBuilder {
/**
*
* Handshake security protocol requested by the client.
*
*
* .grpc.gcp.HandshakeProtocol handshake_security_protocol = 1;
* @return The enum numeric value on the wire for handshakeSecurityProtocol.
*/
int getHandshakeSecurityProtocolValue();
/**
*
* Handshake security protocol requested by the client.
*
*
* .grpc.gcp.HandshakeProtocol handshake_security_protocol = 1;
* @return The handshakeSecurityProtocol.
*/
io.grpc.alts.internal.HandshakeProtocol getHandshakeSecurityProtocol();
/**
*
* The application protocols supported by the client, e.g., "h2" (for http2),
* "grpc".
*
*
* repeated string application_protocols = 2;
* @return A list containing the applicationProtocols.
*/
java.util.List
getApplicationProtocolsList();
/**
*
* The application protocols supported by the client, e.g., "h2" (for http2),
* "grpc".
*
*
* repeated string application_protocols = 2;
* @return The count of applicationProtocols.
*/
int getApplicationProtocolsCount();
/**
*
* The application protocols supported by the client, e.g., "h2" (for http2),
* "grpc".
*
*
* repeated string application_protocols = 2;
* @param index The index of the element to return.
* @return The applicationProtocols at the given index.
*/
java.lang.String getApplicationProtocols(int index);
/**
*
* The application protocols supported by the client, e.g., "h2" (for http2),
* "grpc".
*
*
* repeated string application_protocols = 2;
* @param index The index of the value to return.
* @return The bytes of the applicationProtocols at the given index.
*/
com.google.protobuf.ByteString
getApplicationProtocolsBytes(int index);
/**
*
* The record protocols supported by the client, e.g.,
* "ALTSRP_GCM_AES128".
*
*
* repeated string record_protocols = 3;
* @return A list containing the recordProtocols.
*/
java.util.List
getRecordProtocolsList();
/**
*
* The record protocols supported by the client, e.g.,
* "ALTSRP_GCM_AES128".
*
*
* repeated string record_protocols = 3;
* @return The count of recordProtocols.
*/
int getRecordProtocolsCount();
/**
*
* The record protocols supported by the client, e.g.,
* "ALTSRP_GCM_AES128".
*
*
* repeated string record_protocols = 3;
* @param index The index of the element to return.
* @return The recordProtocols at the given index.
*/
java.lang.String getRecordProtocols(int index);
/**
*
* The record protocols supported by the client, e.g.,
* "ALTSRP_GCM_AES128".
*
*
* repeated string record_protocols = 3;
* @param index The index of the value to return.
* @return The bytes of the recordProtocols at the given index.
*/
com.google.protobuf.ByteString
getRecordProtocolsBytes(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;
*/
java.util.List
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;
*/
io.grpc.alts.internal.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;
*/
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;
*/
java.util.List extends io.grpc.alts.internal.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;
*/
io.grpc.alts.internal.IdentityOrBuilder getTargetIdentitiesOrBuilder(
int index);
/**
*
* (Optional) Application may specify a local identity. Otherwise, the
* handshaker chooses a default local identity.
*
*
* .grpc.gcp.Identity local_identity = 5;
* @return Whether the localIdentity field is set.
*/
boolean hasLocalIdentity();
/**
*
* (Optional) Application may specify a local identity. Otherwise, the
* handshaker chooses a default local identity.
*
*
* .grpc.gcp.Identity local_identity = 5;
* @return The localIdentity.
*/
io.grpc.alts.internal.Identity getLocalIdentity();
/**
*
* (Optional) Application may specify a local identity. Otherwise, the
* handshaker chooses a default local identity.
*
*
* .grpc.gcp.Identity local_identity = 5;
*/
io.grpc.alts.internal.IdentityOrBuilder getLocalIdentityOrBuilder();
/**
*
* (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;
* @return Whether the localEndpoint field is set.
*/
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;
* @return The localEndpoint.
*/
io.grpc.alts.internal.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;
*/
io.grpc.alts.internal.EndpointOrBuilder getLocalEndpointOrBuilder();
/**
*
* (Optional) Endpoint information of the remote server, such as IP address,
* port number, and network protocol.
*
*
* .grpc.gcp.Endpoint remote_endpoint = 7;
* @return Whether the remoteEndpoint field is set.
*/
boolean hasRemoteEndpoint();
/**
*
* (Optional) Endpoint information of the remote server, such as IP address,
* port number, and network protocol.
*
*
* .grpc.gcp.Endpoint remote_endpoint = 7;
* @return The remoteEndpoint.
*/
io.grpc.alts.internal.Endpoint getRemoteEndpoint();
/**
*
* (Optional) Endpoint information of the remote server, such as IP address,
* port number, and network protocol.
*
*
* .grpc.gcp.Endpoint remote_endpoint = 7;
*/
io.grpc.alts.internal.EndpointOrBuilder getRemoteEndpointOrBuilder();
/**
*
* (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;
* @return The targetName.
*/
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;
* @return The bytes for targetName.
*/
com.google.protobuf.ByteString
getTargetNameBytes();
/**
*
* (Optional) RPC protocol versions supported by the client.
*
*
* .grpc.gcp.RpcProtocolVersions rpc_versions = 9;
* @return Whether the rpcVersions field is set.
*/
boolean hasRpcVersions();
/**
*
* (Optional) RPC protocol versions supported by the client.
*
*
* .grpc.gcp.RpcProtocolVersions rpc_versions = 9;
* @return The rpcVersions.
*/
io.grpc.alts.internal.RpcProtocolVersions getRpcVersions();
/**
*
* (Optional) RPC protocol versions supported by the client.
*
*
* .grpc.gcp.RpcProtocolVersions rpc_versions = 9;
*/
io.grpc.alts.internal.RpcProtocolVersionsOrBuilder getRpcVersionsOrBuilder();
/**
*
* (Optional) Maximum frame size supported by the client.
*
*
* uint32 max_frame_size = 10;
* @return The maxFrameSize.
*/
int getMaxFrameSize();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy