Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
* The aggregated mesh configuration services allow a single
* management server, via a single gRPC stream, to deliver all API
* updates.
*
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.24.0)",
comments = "Source: mcp/v1alpha1/mcp.proto")
public final class AggregatedMeshConfigServiceGrpc {
private AggregatedMeshConfigServiceGrpc() {}
public static final String SERVICE_NAME = "istio.mcp.v1alpha1.AggregatedMeshConfigService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getStreamAggregatedResourcesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "StreamAggregatedResources",
requestType = istio.mcp.v1alpha1.Mcp.MeshConfigRequest.class,
responseType = istio.mcp.v1alpha1.Mcp.MeshConfigResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
public static io.grpc.MethodDescriptor getStreamAggregatedResourcesMethod() {
io.grpc.MethodDescriptor getStreamAggregatedResourcesMethod;
if ((getStreamAggregatedResourcesMethod = AggregatedMeshConfigServiceGrpc.getStreamAggregatedResourcesMethod) == null) {
synchronized (AggregatedMeshConfigServiceGrpc.class) {
if ((getStreamAggregatedResourcesMethod = AggregatedMeshConfigServiceGrpc.getStreamAggregatedResourcesMethod) == null) {
AggregatedMeshConfigServiceGrpc.getStreamAggregatedResourcesMethod = getStreamAggregatedResourcesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamAggregatedResources"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
istio.mcp.v1alpha1.Mcp.MeshConfigRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
istio.mcp.v1alpha1.Mcp.MeshConfigResponse.getDefaultInstance()))
.setSchemaDescriptor(new AggregatedMeshConfigServiceMethodDescriptorSupplier("StreamAggregatedResources"))
.build();
}
}
}
return getStreamAggregatedResourcesMethod;
}
private static volatile io.grpc.MethodDescriptor getIncrementalAggregatedResourcesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "IncrementalAggregatedResources",
requestType = istio.mcp.v1alpha1.Mcp.IncrementalMeshConfigRequest.class,
responseType = istio.mcp.v1alpha1.Mcp.IncrementalMeshConfigResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
public static io.grpc.MethodDescriptor getIncrementalAggregatedResourcesMethod() {
io.grpc.MethodDescriptor getIncrementalAggregatedResourcesMethod;
if ((getIncrementalAggregatedResourcesMethod = AggregatedMeshConfigServiceGrpc.getIncrementalAggregatedResourcesMethod) == null) {
synchronized (AggregatedMeshConfigServiceGrpc.class) {
if ((getIncrementalAggregatedResourcesMethod = AggregatedMeshConfigServiceGrpc.getIncrementalAggregatedResourcesMethod) == null) {
AggregatedMeshConfigServiceGrpc.getIncrementalAggregatedResourcesMethod = getIncrementalAggregatedResourcesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "IncrementalAggregatedResources"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
istio.mcp.v1alpha1.Mcp.IncrementalMeshConfigRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
istio.mcp.v1alpha1.Mcp.IncrementalMeshConfigResponse.getDefaultInstance()))
.setSchemaDescriptor(new AggregatedMeshConfigServiceMethodDescriptorSupplier("IncrementalAggregatedResources"))
.build();
}
}
}
return getIncrementalAggregatedResourcesMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static AggregatedMeshConfigServiceStub newStub(io.grpc.Channel channel) {
return new AggregatedMeshConfigServiceStub(channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static AggregatedMeshConfigServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
return new AggregatedMeshConfigServiceBlockingStub(channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static AggregatedMeshConfigServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
return new AggregatedMeshConfigServiceFutureStub(channel);
}
/**
*
* The aggregated mesh configuration services allow a single
* management server, via a single gRPC stream, to deliver all API
* updates.
*
*/
public static abstract class AggregatedMeshConfigServiceImplBase implements io.grpc.BindableService {
/**
*
* StreamAggregatedResources provides the ability to carefully
* sequence updates across multiple resource types. A single stream
* is used with multiple independent MeshConfigRequest /
* MeshConfigResponses sequences multiplexed via the type URL.
*
* IncrementalAggregatedResources provides the ability to incrementally
* update the resources on the client. This supports the goal of
* scalability of MCP resources.
*
*/
public io.grpc.stub.StreamObserver incrementalAggregatedResources(
io.grpc.stub.StreamObserver responseObserver) {
return asyncUnimplementedStreamingCall(getIncrementalAggregatedResourcesMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getStreamAggregatedResourcesMethod(),
asyncBidiStreamingCall(
new MethodHandlers<
istio.mcp.v1alpha1.Mcp.MeshConfigRequest,
istio.mcp.v1alpha1.Mcp.MeshConfigResponse>(
this, METHODID_STREAM_AGGREGATED_RESOURCES)))
.addMethod(
getIncrementalAggregatedResourcesMethod(),
asyncBidiStreamingCall(
new MethodHandlers<
istio.mcp.v1alpha1.Mcp.IncrementalMeshConfigRequest,
istio.mcp.v1alpha1.Mcp.IncrementalMeshConfigResponse>(
this, METHODID_INCREMENTAL_AGGREGATED_RESOURCES)))
.build();
}
}
/**
*
* The aggregated mesh configuration services allow a single
* management server, via a single gRPC stream, to deliver all API
* updates.
*
*/
public static final class AggregatedMeshConfigServiceStub extends io.grpc.stub.AbstractStub {
private AggregatedMeshConfigServiceStub(io.grpc.Channel channel) {
super(channel);
}
private AggregatedMeshConfigServiceStub(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected AggregatedMeshConfigServiceStub build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
return new AggregatedMeshConfigServiceStub(channel, callOptions);
}
/**
*
* StreamAggregatedResources provides the ability to carefully
* sequence updates across multiple resource types. A single stream
* is used with multiple independent MeshConfigRequest /
* MeshConfigResponses sequences multiplexed via the type URL.
*
* IncrementalAggregatedResources provides the ability to incrementally
* update the resources on the client. This supports the goal of
* scalability of MCP resources.
*