Package io.envoyproxy.envoy.api.v2
Class DeltaDiscoveryResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.api.v2.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.GeneratedMessageV3 implements DeltaDiscoveryResponseOrBuilder
[#next-free-field: 7]
Protobuf typeenvoy.api.v2.DeltaDiscoveryResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeltaDiscoveryResponse.Builder[#next-free-field: 7]-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intNONCE_FIELD_NUMBERstatic intREMOVED_RESOURCES_FIELD_NUMBERstatic intRESOURCES_FIELD_NUMBERstatic intSYSTEM_VERSION_INFO_FIELD_NUMBERstatic intTYPE_URL_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static DeltaDiscoveryResponsegetDefaultInstance()DeltaDiscoveryResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.com.google.protobuf.Parser<DeltaDiscoveryResponse>getParserForType()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.com.google.protobuf.ProtocolStringListgetRemovedResourcesList()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.intgetSerializedSize()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.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DeltaDiscoveryResponse.BuildernewBuilder()static DeltaDiscoveryResponse.BuildernewBuilder(DeltaDiscoveryResponse prototype)DeltaDiscoveryResponse.BuildernewBuilderForType()protected DeltaDiscoveryResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DeltaDiscoveryResponseparseDelimitedFrom(InputStream input)static DeltaDiscoveryResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeltaDiscoveryResponseparseFrom(byte[] data)static DeltaDiscoveryResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeltaDiscoveryResponseparseFrom(com.google.protobuf.ByteString data)static DeltaDiscoveryResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeltaDiscoveryResponseparseFrom(com.google.protobuf.CodedInputStream input)static DeltaDiscoveryResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeltaDiscoveryResponseparseFrom(InputStream input)static DeltaDiscoveryResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeltaDiscoveryResponseparseFrom(ByteBuffer data)static DeltaDiscoveryResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DeltaDiscoveryResponse>parser()DeltaDiscoveryResponse.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SYSTEM_VERSION_INFO_FIELD_NUMBER
public static final int SYSTEM_VERSION_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_URL_FIELD_NUMBER
public static final int TYPE_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REMOVED_RESOURCES_FIELD_NUMBER
public static final int REMOVED_RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NONCE_FIELD_NUMBER
public static final int NONCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getSystemVersionInfo
public String getSystemVersionInfo()
The version of the response data (used for debugging).
string system_version_info = 1;- Specified by:
getSystemVersionInfoin 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:
getSystemVersionInfoBytesin interfaceDeltaDiscoveryResponseOrBuilder- Returns:
- The bytes for systemVersionInfo.
-
getResourcesList
public 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;- Specified by:
getResourcesListin interfaceDeltaDiscoveryResponseOrBuilder
-
getResourcesOrBuilderList
public 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;- Specified by:
getResourcesOrBuilderListin interfaceDeltaDiscoveryResponseOrBuilder
-
getResourcesCount
public int getResourcesCount()
The response resources. These are typed resources, whose types must match the type_url field.
repeated .envoy.api.v2.Resource resources = 2;- Specified by:
getResourcesCountin interfaceDeltaDiscoveryResponseOrBuilder
-
getResources
public 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;- Specified by:
getResourcesin interfaceDeltaDiscoveryResponseOrBuilder
-
getResourcesOrBuilder
public 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;- Specified by:
getResourcesOrBuilderin interfaceDeltaDiscoveryResponseOrBuilder
-
getTypeUrl
public 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;- Specified by:
getTypeUrlin 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:
getTypeUrlBytesin 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:
getRemovedResourcesListin 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:
getRemovedResourcesCountin interfaceDeltaDiscoveryResponseOrBuilder- Returns:
- The count of removedResources.
-
getRemovedResources
public 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;- Specified by:
getRemovedResourcesin 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:
getRemovedResourcesBytesin interfaceDeltaDiscoveryResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the removedResources at the given index.
-
getNonce
public String 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:
getNoncein 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:
getNonceBytesin interfaceDeltaDiscoveryResponseOrBuilder- Returns:
- The bytes for nonce.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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
public static DeltaDiscoveryResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DeltaDiscoveryResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DeltaDiscoveryResponse parseDelimitedFrom(InputStream input) throws IOException
- 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
public DeltaDiscoveryResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DeltaDiscoveryResponse.Builder newBuilder()
-
newBuilder
public static DeltaDiscoveryResponse.Builder newBuilder(DeltaDiscoveryResponse prototype)
-
toBuilder
public DeltaDiscoveryResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DeltaDiscoveryResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DeltaDiscoveryResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DeltaDiscoveryResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<DeltaDiscoveryResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DeltaDiscoveryResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-