Package io.envoyproxy.envoy.api.v2
Interface DeltaDiscoveryResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DeltaDiscoveryResponse,DeltaDiscoveryResponse.Builder
public interface DeltaDiscoveryResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetNonce()The nonce provides a way for DeltaDiscoveryRequests to uniquely reference a DeltaDiscoveryResponse when (N)ACKing.com.google.protobuf.ByteStringgetNonceBytes()The nonce provides a way for DeltaDiscoveryRequests to uniquely reference a DeltaDiscoveryResponse when (N)ACKing.StringgetRemovedResources(int index)Resources names of resources that have be deleted and to be removed from the xDS Client.com.google.protobuf.ByteStringgetRemovedResourcesBytes(int index)Resources names of resources that have be deleted and to be removed from the xDS Client.intgetRemovedResourcesCount()Resources names of resources that have be deleted and to be removed from the xDS Client.List<String>getRemovedResourcesList()Resources names of resources that have be deleted and to be removed from the xDS Client.ResourcegetResources(int index)The response resources.intgetResourcesCount()The response resources.List<Resource>getResourcesList()The response resources.ResourceOrBuildergetResourcesOrBuilder(int index)The response resources.List<? extends ResourceOrBuilder>getResourcesOrBuilderList()The response resources.StringgetSystemVersionInfo()The version of the response data (used for debugging).com.google.protobuf.ByteStringgetSystemVersionInfoBytes()The version of the response data (used for debugging).StringgetTypeUrl()Type URL for resources.com.google.protobuf.ByteStringgetTypeUrlBytes()Type URL for resources.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSystemVersionInfo
String getSystemVersionInfo()
The version of the response data (used for debugging).
string system_version_info = 1;- Returns:
- The systemVersionInfo.
-
getSystemVersionInfoBytes
com.google.protobuf.ByteString getSystemVersionInfoBytes()
The version of the response data (used for debugging).
string system_version_info = 1;- Returns:
- The bytes for systemVersionInfo.
-
getResourcesList
List<Resource> getResourcesList()
The response resources. These are typed resources, whose types must match the type_url field.
repeated .envoy.api.v2.Resource resources = 2;
-
getResources
Resource getResources(int index)
The response resources. These are typed resources, whose types must match the type_url field.
repeated .envoy.api.v2.Resource resources = 2;
-
getResourcesCount
int getResourcesCount()
The response resources. These are typed resources, whose types must match the type_url field.
repeated .envoy.api.v2.Resource resources = 2;
-
getResourcesOrBuilderList
List<? extends ResourceOrBuilder> getResourcesOrBuilderList()
The response resources. These are typed resources, whose types must match the type_url field.
repeated .envoy.api.v2.Resource resources = 2;
-
getResourcesOrBuilder
ResourceOrBuilder getResourcesOrBuilder(int index)
The response resources. These are typed resources, whose types must match the type_url field.
repeated .envoy.api.v2.Resource resources = 2;
-
getTypeUrl
String getTypeUrl()
Type URL for resources. Identifies the xDS API when muxing over ADS. Must be consistent with the type_url in the Any within 'resources' if 'resources' is non-empty.
string type_url = 4;- Returns:
- The typeUrl.
-
getTypeUrlBytes
com.google.protobuf.ByteString getTypeUrlBytes()
Type URL for resources. Identifies the xDS API when muxing over ADS. Must be consistent with the type_url in the Any within 'resources' if 'resources' is non-empty.
string type_url = 4;- Returns:
- The bytes for typeUrl.
-
getRemovedResourcesList
List<String> getRemovedResourcesList()
Resources names of resources that have be deleted and to be removed from the xDS Client. Removed resources for missing resources can be ignored.
repeated string removed_resources = 6;- Returns:
- A list containing the removedResources.
-
getRemovedResourcesCount
int getRemovedResourcesCount()
Resources names of resources that have be deleted and to be removed from the xDS Client. Removed resources for missing resources can be ignored.
repeated string removed_resources = 6;- Returns:
- The count of removedResources.
-
getRemovedResources
String getRemovedResources(int index)
Resources names of resources that have be deleted and to be removed from the xDS Client. Removed resources for missing resources can be ignored.
repeated string removed_resources = 6;- Parameters:
index- The index of the element to return.- Returns:
- The removedResources at the given index.
-
getRemovedResourcesBytes
com.google.protobuf.ByteString getRemovedResourcesBytes(int index)
Resources names of resources that have be deleted and to be removed from the xDS Client. Removed resources for missing resources can be ignored.
repeated string removed_resources = 6;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the removedResources at the given index.
-
getNonce
String getNonce()
The nonce provides a way for DeltaDiscoveryRequests to uniquely reference a DeltaDiscoveryResponse when (N)ACKing. The nonce is required.
string nonce = 5;- Returns:
- The nonce.
-
getNonceBytes
com.google.protobuf.ByteString getNonceBytes()
The nonce provides a way for DeltaDiscoveryRequests to uniquely reference a DeltaDiscoveryResponse when (N)ACKing. The nonce is required.
string nonce = 5;- Returns:
- The bytes for nonce.
-
-