io.grpc.alts.internal.HandshakerRespOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: grpc/gcp/handshaker.proto
// Protobuf Java Version: 3.25.1
package io.grpc.alts.internal;
public interface HandshakerRespOrBuilder extends
// @@protoc_insertion_point(interface_extends:grpc.gcp.HandshakerResp)
com.google.protobuf.MessageOrBuilder {
/**
*
* Frames to be given to the peer for the NextHandshakeMessageReq. May be
* empty if no out_frames have to be sent to the peer or if in_bytes in the
* HandshakerReq are incomplete. All the non-empty out frames must be sent to
* the peer even if the handshaker status is not OK as these frames may
* contain the alert frames.
*
*
* bytes out_frames = 1;
* @return The outFrames.
*/
com.google.protobuf.ByteString getOutFrames();
/**
*
* Number of bytes in the in_bytes consumed by the handshaker. It is possible
* that part of in_bytes in HandshakerReq was unrelated to the handshake
* process.
*
*
* uint32 bytes_consumed = 2;
* @return The bytesConsumed.
*/
int getBytesConsumed();
/**
*
* This is set iff the handshake was successful. out_frames may still be set
* to frames that needs to be forwarded to the peer.
*
*
* .grpc.gcp.HandshakerResult result = 3;
* @return Whether the result field is set.
*/
boolean hasResult();
/**
*
* This is set iff the handshake was successful. out_frames may still be set
* to frames that needs to be forwarded to the peer.
*
*
* .grpc.gcp.HandshakerResult result = 3;
* @return The result.
*/
io.grpc.alts.internal.HandshakerResult getResult();
/**
*
* This is set iff the handshake was successful. out_frames may still be set
* to frames that needs to be forwarded to the peer.
*
*
* .grpc.gcp.HandshakerResult result = 3;
*/
io.grpc.alts.internal.HandshakerResultOrBuilder getResultOrBuilder();
/**
*
* Status of the handshaker.
*
*
* .grpc.gcp.HandshakerStatus status = 4;
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
*
* Status of the handshaker.
*
*
* .grpc.gcp.HandshakerStatus status = 4;
* @return The status.
*/
io.grpc.alts.internal.HandshakerStatus getStatus();
/**
*
* Status of the handshaker.
*
*
* .grpc.gcp.HandshakerStatus status = 4;
*/
io.grpc.alts.internal.HandshakerStatusOrBuilder getStatusOrBuilder();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy