com.alibaba.nacos.istio.model.mcp.ResourcesOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mcp.proto
package com.alibaba.nacos.istio.model.mcp;
public interface ResourcesOrBuilder extends
// @@protoc_insertion_point(interface_extends:istio.mcp.v1alpha1.Resources)
com.google.protobuf.MessageOrBuilder {
/**
*
* The version of the response data (used for debugging).
*
*
* string system_version_info = 1;
* @return The systemVersionInfo.
*/
java.lang.String getSystemVersionInfo();
/**
*
* The version of the response data (used for debugging).
*
*
* string system_version_info = 1;
* @return The bytes for systemVersionInfo.
*/
com.google.protobuf.ByteString
getSystemVersionInfoBytes();
/**
*
* Type of resource collection that is being requested, e.g.
* istio/networking/v1alpha3/VirtualService
* k8s/<apiVersion>/<kind>
*
*
* string collection = 2;
* @return The collection.
*/
java.lang.String getCollection();
/**
*
* Type of resource collection that is being requested, e.g.
* istio/networking/v1alpha3/VirtualService
* k8s/<apiVersion>/<kind>
*
*
* string collection = 2;
* @return The bytes for collection.
*/
com.google.protobuf.ByteString
getCollectionBytes();
/**
*
* The response resources wrapped in the common MCP *Resource* message.
* These are typed resources that match the type url in the
* RequestResources message.
* When `incremental` is true, this contains an array of resources to add/update
* for the specified collection. This modifies the existing collection at the sink
* When `incremental` is false, this contains the full set of resources for the
* specified collection. This replaces any previously delivered resources.
*
*
* repeated .istio.mcp.v1alpha1.Resource resources = 3;
*/
java.util.List
getResourcesList();
/**
*
* The response resources wrapped in the common MCP *Resource* message.
* These are typed resources that match the type url in the
* RequestResources message.
* When `incremental` is true, this contains an array of resources to add/update
* for the specified collection. This modifies the existing collection at the sink
* When `incremental` is false, this contains the full set of resources for the
* specified collection. This replaces any previously delivered resources.
*
*
* repeated .istio.mcp.v1alpha1.Resource resources = 3;
*/
com.alibaba.nacos.istio.model.mcp.Resource getResources(int index);
/**
*
* The response resources wrapped in the common MCP *Resource* message.
* These are typed resources that match the type url in the
* RequestResources message.
* When `incremental` is true, this contains an array of resources to add/update
* for the specified collection. This modifies the existing collection at the sink
* When `incremental` is false, this contains the full set of resources for the
* specified collection. This replaces any previously delivered resources.
*
*
* repeated .istio.mcp.v1alpha1.Resource resources = 3;
*/
int getResourcesCount();
/**
*
* The response resources wrapped in the common MCP *Resource* message.
* These are typed resources that match the type url in the
* RequestResources message.
* When `incremental` is true, this contains an array of resources to add/update
* for the specified collection. This modifies the existing collection at the sink
* When `incremental` is false, this contains the full set of resources for the
* specified collection. This replaces any previously delivered resources.
*
*
* repeated .istio.mcp.v1alpha1.Resource resources = 3;
*/
java.util.List extends com.alibaba.nacos.istio.model.mcp.ResourceOrBuilder>
getResourcesOrBuilderList();
/**
*
* The response resources wrapped in the common MCP *Resource* message.
* These are typed resources that match the type url in the
* RequestResources message.
* When `incremental` is true, this contains an array of resources to add/update
* for the specified collection. This modifies the existing collection at the sink
* When `incremental` is false, this contains the full set of resources for the
* specified collection. This replaces any previously delivered resources.
*
*
* repeated .istio.mcp.v1alpha1.Resource resources = 3;
*/
com.alibaba.nacos.istio.model.mcp.ResourceOrBuilder getResourcesOrBuilder(
int index);
/**
*
* Names of resources that have been deleted and to be
* removed from the MCP sink node. Removed resources for missing
* resources can be ignored.
* When `incremental` is true, this contains an array of resource names to remove
* for the specified collection. This modifies the existing resource collection at
* the sink.
* When `incremental` is false, this field should be ignored.
*
*
* repeated string removed_resources = 4;
* @return A list containing the removedResources.
*/
java.util.List
getRemovedResourcesList();
/**
*
* Names of resources that have been deleted and to be
* removed from the MCP sink node. Removed resources for missing
* resources can be ignored.
* When `incremental` is true, this contains an array of resource names to remove
* for the specified collection. This modifies the existing resource collection at
* the sink.
* When `incremental` is false, this field should be ignored.
*
*
* repeated string removed_resources = 4;
* @return The count of removedResources.
*/
int getRemovedResourcesCount();
/**
*
* Names of resources that have been deleted and to be
* removed from the MCP sink node. Removed resources for missing
* resources can be ignored.
* When `incremental` is true, this contains an array of resource names to remove
* for the specified collection. This modifies the existing resource collection at
* the sink.
* When `incremental` is false, this field should be ignored.
*
*
* repeated string removed_resources = 4;
* @param index The index of the element to return.
* @return The removedResources at the given index.
*/
java.lang.String getRemovedResources(int index);
/**
*
* Names of resources that have been deleted and to be
* removed from the MCP sink node. Removed resources for missing
* resources can be ignored.
* When `incremental` is true, this contains an array of resource names to remove
* for the specified collection. This modifies the existing resource collection at
* the sink.
* When `incremental` is false, this field should be ignored.
*
*
* repeated string removed_resources = 4;
* @param index The index of the value to return.
* @return The bytes of the removedResources at the given index.
*/
com.google.protobuf.ByteString
getRemovedResourcesBytes(int index);
/**
*
* Required. The nonce provides a way for RequestChange to uniquely
* reference a RequestResources.
*
*
* string nonce = 5;
* @return The nonce.
*/
java.lang.String getNonce();
/**
*
* Required. The nonce provides a way for RequestChange to uniquely
* reference a RequestResources.
*
*
* string nonce = 5;
* @return The bytes for nonce.
*/
com.google.protobuf.ByteString
getNonceBytes();
/**
*
* This resource response is an incremental update. The source should only send
* incremental updates if the sink requested them.
*
*
* bool incremental = 6;
* @return The incremental.
*/
boolean getIncremental();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy