Class DeltaDiscoveryResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.service.discovery.v3.DeltaDiscoveryResponse
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DeltaDiscoveryResponseOrBuilder
,Serializable
public final class DeltaDiscoveryResponse
extends com.google.protobuf.GeneratedMessage
implements DeltaDiscoveryResponseOrBuilder
[#next-free-field: 9]Protobuf type
envoy.service.discovery.v3.DeltaDiscoveryResponse
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
[#next-free-field: 9]Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
static final int
private ControlPlane
private static final DeltaDiscoveryResponse
private byte
private Object
static final int
private static final com.google.protobuf.Parser
<DeltaDiscoveryResponse> static final int
static final int
private List
<ResourceName> private com.google.protobuf.LazyStringArrayList
static final int
private static final long
static final int
private Object
static final int
private Object
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
private
DeltaDiscoveryResponse
(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionboolean
[#not-implemented-hide:] The control plane instance that sent the response.[#not-implemented-hide:] The control plane instance that sent the response.static DeltaDiscoveryResponse
static final com.google.protobuf.Descriptors.Descriptor
getNonce()
The nonce provides a way for DeltaDiscoveryRequests to uniquely reference a DeltaDiscoveryResponse when (N)ACKing.com.google.protobuf.ByteString
The nonce provides a way for DeltaDiscoveryRequests to uniquely reference a DeltaDiscoveryResponse when (N)ACKing.com.google.protobuf.Parser
<DeltaDiscoveryResponse> getRemovedResourceNames
(int index) Alternative to removed_resources that allows specifying which variant of a resource is being removed.int
Alternative to removed_resources that allows specifying which variant of a resource is being removed.Alternative to removed_resources that allows specifying which variant of a resource is being removed.getRemovedResourceNamesOrBuilder
(int index) Alternative to removed_resources that allows specifying which variant of a resource is being removed.List
<? extends ResourceNameOrBuilder> Alternative to removed_resources that allows specifying which variant of a resource is being removed.getRemovedResources
(int index) Resources names of resources that have be deleted and to be removed from the xDS Client.com.google.protobuf.ByteString
getRemovedResourcesBytes
(int index) Resources names of resources that have be deleted and to be removed from the xDS Client.int
Resources names of resources that have be deleted and to be removed from the xDS Client.com.google.protobuf.ProtocolStringList
Resources names of resources that have be deleted and to be removed from the xDS Client.getResources
(int index) The response resources.int
The response resources.The response resources.getResourcesOrBuilder
(int index) The response resources.List
<? extends ResourceOrBuilder> The response resources.int
The version of the response data (used for debugging).com.google.protobuf.ByteString
The version of the response data (used for debugging).Type URL for resources.com.google.protobuf.ByteString
Type URL for resources.boolean
[#not-implemented-hide:] The control plane instance that sent the response.int
hashCode()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
newBuilder
(DeltaDiscoveryResponse prototype) protected DeltaDiscoveryResponse.Builder
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) static DeltaDiscoveryResponse
parseDelimitedFrom
(InputStream input) static DeltaDiscoveryResponse
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeltaDiscoveryResponse
parseFrom
(byte[] data) static DeltaDiscoveryResponse
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeltaDiscoveryResponse
parseFrom
(com.google.protobuf.ByteString data) static DeltaDiscoveryResponse
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeltaDiscoveryResponse
parseFrom
(com.google.protobuf.CodedInputStream input) static DeltaDiscoveryResponse
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeltaDiscoveryResponse
parseFrom
(InputStream input) static DeltaDiscoveryResponse
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeltaDiscoveryResponse
parseFrom
(ByteBuffer data) static DeltaDiscoveryResponse
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser
<DeltaDiscoveryResponse> parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
SYSTEM_VERSION_INFO_FIELD_NUMBER
public static final int SYSTEM_VERSION_INFO_FIELD_NUMBER- See Also:
-
systemVersionInfo_
-
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER- See Also:
-
resources_
-
TYPE_URL_FIELD_NUMBER
public static final int TYPE_URL_FIELD_NUMBER- See Also:
-
typeUrl_
-
REMOVED_RESOURCES_FIELD_NUMBER
public static final int REMOVED_RESOURCES_FIELD_NUMBER- See Also:
-
removedResources_
private com.google.protobuf.LazyStringArrayList removedResources_ -
REMOVED_RESOURCE_NAMES_FIELD_NUMBER
public static final int REMOVED_RESOURCE_NAMES_FIELD_NUMBER- See Also:
-
removedResourceNames_
-
NONCE_FIELD_NUMBER
public static final int NONCE_FIELD_NUMBER- See Also:
-
nonce_
-
CONTROL_PLANE_FIELD_NUMBER
public static final int CONTROL_PLANE_FIELD_NUMBER- See Also:
-
controlPlane_
-
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
DeltaDiscoveryResponse
private DeltaDiscoveryResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
DeltaDiscoveryResponse
private DeltaDiscoveryResponse()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
getSystemVersionInfo
The version of the response data (used for debugging).
string system_version_info = 1;
- Specified by:
getSystemVersionInfo
in interfaceDeltaDiscoveryResponseOrBuilder
- Returns:
- The systemVersionInfo.
-
getSystemVersionInfoBytes
public com.google.protobuf.ByteString getSystemVersionInfoBytes()The version of the response data (used for debugging).
string system_version_info = 1;
- Specified by:
getSystemVersionInfoBytes
in interfaceDeltaDiscoveryResponseOrBuilder
- Returns:
- The bytes for systemVersionInfo.
-
getResourcesList
The response resources. These are typed resources, whose types must match the type_url field.
repeated .envoy.service.discovery.v3.Resource resources = 2;
- Specified by:
getResourcesList
in interfaceDeltaDiscoveryResponseOrBuilder
-
getResourcesOrBuilderList
The response resources. These are typed resources, whose types must match the type_url field.
repeated .envoy.service.discovery.v3.Resource resources = 2;
- Specified by:
getResourcesOrBuilderList
in interfaceDeltaDiscoveryResponseOrBuilder
-
getResourcesCount
public int getResourcesCount()The response resources. These are typed resources, whose types must match the type_url field.
repeated .envoy.service.discovery.v3.Resource resources = 2;
- Specified by:
getResourcesCount
in interfaceDeltaDiscoveryResponseOrBuilder
-
getResources
The response resources. These are typed resources, whose types must match the type_url field.
repeated .envoy.service.discovery.v3.Resource resources = 2;
- Specified by:
getResources
in interfaceDeltaDiscoveryResponseOrBuilder
-
getResourcesOrBuilder
The response resources. These are typed resources, whose types must match the type_url field.
repeated .envoy.service.discovery.v3.Resource resources = 2;
- Specified by:
getResourcesOrBuilder
in interfaceDeltaDiscoveryResponseOrBuilder
-
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;
- Specified by:
getTypeUrl
in interfaceDeltaDiscoveryResponseOrBuilder
- Returns:
- The typeUrl.
-
getTypeUrlBytes
public 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;
- Specified by:
getTypeUrlBytes
in interfaceDeltaDiscoveryResponseOrBuilder
- Returns:
- The bytes for typeUrl.
-
getRemovedResourcesList
public com.google.protobuf.ProtocolStringList 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;
- Specified by:
getRemovedResourcesList
in interfaceDeltaDiscoveryResponseOrBuilder
- Returns:
- A list containing the removedResources.
-
getRemovedResourcesCount
public 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;
- Specified by:
getRemovedResourcesCount
in interfaceDeltaDiscoveryResponseOrBuilder
- Returns:
- The count of removedResources.
-
getRemovedResources
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;
- Specified by:
getRemovedResources
in interfaceDeltaDiscoveryResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The removedResources at the given index.
-
getRemovedResourcesBytes
public 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;
- Specified by:
getRemovedResourcesBytes
in interfaceDeltaDiscoveryResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the removedResources at the given index.
-
getRemovedResourceNamesList
Alternative to removed_resources that allows specifying which variant of a resource is being removed. This variant must be used for any resource for which dynamic parameter constraints were sent to the client.
repeated .envoy.service.discovery.v3.ResourceName removed_resource_names = 8;
- Specified by:
getRemovedResourceNamesList
in interfaceDeltaDiscoveryResponseOrBuilder
-
getRemovedResourceNamesOrBuilderList
Alternative to removed_resources that allows specifying which variant of a resource is being removed. This variant must be used for any resource for which dynamic parameter constraints were sent to the client.
repeated .envoy.service.discovery.v3.ResourceName removed_resource_names = 8;
- Specified by:
getRemovedResourceNamesOrBuilderList
in interfaceDeltaDiscoveryResponseOrBuilder
-
getRemovedResourceNamesCount
public int getRemovedResourceNamesCount()Alternative to removed_resources that allows specifying which variant of a resource is being removed. This variant must be used for any resource for which dynamic parameter constraints were sent to the client.
repeated .envoy.service.discovery.v3.ResourceName removed_resource_names = 8;
- Specified by:
getRemovedResourceNamesCount
in interfaceDeltaDiscoveryResponseOrBuilder
-
getRemovedResourceNames
Alternative to removed_resources that allows specifying which variant of a resource is being removed. This variant must be used for any resource for which dynamic parameter constraints were sent to the client.
repeated .envoy.service.discovery.v3.ResourceName removed_resource_names = 8;
- Specified by:
getRemovedResourceNames
in interfaceDeltaDiscoveryResponseOrBuilder
-
getRemovedResourceNamesOrBuilder
Alternative to removed_resources that allows specifying which variant of a resource is being removed. This variant must be used for any resource for which dynamic parameter constraints were sent to the client.
repeated .envoy.service.discovery.v3.ResourceName removed_resource_names = 8;
- Specified by:
getRemovedResourceNamesOrBuilder
in interfaceDeltaDiscoveryResponseOrBuilder
-
getNonce
The nonce provides a way for DeltaDiscoveryRequests to uniquely reference a DeltaDiscoveryResponse when (N)ACKing. The nonce is required.
string nonce = 5;
- Specified by:
getNonce
in interfaceDeltaDiscoveryResponseOrBuilder
- Returns:
- The nonce.
-
getNonceBytes
public 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;
- Specified by:
getNonceBytes
in interfaceDeltaDiscoveryResponseOrBuilder
- Returns:
- The bytes for nonce.
-
hasControlPlane
public boolean hasControlPlane()[#not-implemented-hide:] The control plane instance that sent the response.
.envoy.config.core.v3.ControlPlane control_plane = 7;
- Specified by:
hasControlPlane
in interfaceDeltaDiscoveryResponseOrBuilder
- Returns:
- Whether the controlPlane field is set.
-
getControlPlane
[#not-implemented-hide:] The control plane instance that sent the response.
.envoy.config.core.v3.ControlPlane control_plane = 7;
- Specified by:
getControlPlane
in interfaceDeltaDiscoveryResponseOrBuilder
- Returns:
- The controlPlane.
-
getControlPlaneOrBuilder
[#not-implemented-hide:] The control plane instance that sent the response.
.envoy.config.core.v3.ControlPlane control_plane = 7;
- Specified by:
getControlPlaneOrBuilder
in interfaceDeltaDiscoveryResponseOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DeltaDiscoveryResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeltaDiscoveryResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeltaDiscoveryResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeltaDiscoveryResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeltaDiscoveryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeltaDiscoveryResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DeltaDiscoveryResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DeltaDiscoveryResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DeltaDiscoveryResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DeltaDiscoveryResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DeltaDiscoveryResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-