com.alibaba.nacos.istio.model.PortOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: gateway.proto
package com.alibaba.nacos.istio.model;
public interface PortOrBuilder extends
// @@protoc_insertion_point(interface_extends:istio.networking.v1alpha3.Port)
com.google.protobuf.MessageOrBuilder {
/**
*
* REQUIRED: A valid non-negative integer port number.
*
*
* uint32 number = 1;
* @return The number.
*/
int getNumber();
/**
*
* REQUIRED: The protocol exposed on the port.
* MUST BE one of HTTP|HTTPS|GRPC|HTTP2|MONGO|TCP|TLS.
* TLS implies the connection will be routed based on the SNI header to
* the destination without terminating the TLS connection.
*
*
* string protocol = 2;
* @return The protocol.
*/
java.lang.String getProtocol();
/**
*
* REQUIRED: The protocol exposed on the port.
* MUST BE one of HTTP|HTTPS|GRPC|HTTP2|MONGO|TCP|TLS.
* TLS implies the connection will be routed based on the SNI header to
* the destination without terminating the TLS connection.
*
*
* string protocol = 2;
* @return The bytes for protocol.
*/
com.google.protobuf.ByteString
getProtocolBytes();
/**
*
* Label assigned to the port.
*
*
* string name = 3;
* @return The name.
*/
java.lang.String getName();
/**
*
* Label assigned to the port.
*
*
* string name = 3;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
}