Class DeltaDiscoveryResponse

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DeltaDiscoveryResponseOrBuilder, java.io.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:
    Serialized Form
    • Field Detail

      • bitField0_

        private int bitField0_
      • SYSTEM_VERSION_INFO_FIELD_NUMBER

        public static final int SYSTEM_VERSION_INFO_FIELD_NUMBER
        See Also:
        Constant Field Values
      • systemVersionInfo_

        private volatile java.lang.Object systemVersionInfo_
      • resources_

        private java.util.List<Resource> resources_
      • typeUrl_

        private volatile java.lang.Object typeUrl_
      • REMOVED_RESOURCES_FIELD_NUMBER

        public static final int REMOVED_RESOURCES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • removedResources_

        private com.google.protobuf.LazyStringArrayList removedResources_
      • REMOVED_RESOURCE_NAMES_FIELD_NUMBER

        public static final int REMOVED_RESOURCE_NAMES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • removedResourceNames_

        private java.util.List<ResourceName> removedResourceNames_
      • nonce_

        private volatile java.lang.Object nonce_
      • CONTROL_PLANE_FIELD_NUMBER

        public static final int CONTROL_PLANE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • memoizedIsInitialized

        private byte memoizedIsInitialized
    • Constructor Detail

      • DeltaDiscoveryResponse

        private DeltaDiscoveryResponse​(com.google.protobuf.GeneratedMessage.Builder<?> builder)
      • DeltaDiscoveryResponse

        private DeltaDiscoveryResponse()
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
      • getSystemVersionInfo

        public java.lang.String getSystemVersionInfo()
         The version of the response data (used for debugging).
         
        string system_version_info = 1;
        Specified by:
        getSystemVersionInfo in interface DeltaDiscoveryResponseOrBuilder
        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 interface DeltaDiscoveryResponseOrBuilder
        Returns:
        The bytes for systemVersionInfo.
      • getResourcesList

        public java.util.List<Resource> 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 interface DeltaDiscoveryResponseOrBuilder
      • 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 interface DeltaDiscoveryResponseOrBuilder
      • getResources

        public Resource getResources​(int index)
         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 interface DeltaDiscoveryResponseOrBuilder
      • getTypeUrl

        public java.lang.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:
        getTypeUrl in interface DeltaDiscoveryResponseOrBuilder
        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 interface DeltaDiscoveryResponseOrBuilder
        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 interface DeltaDiscoveryResponseOrBuilder
        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 interface DeltaDiscoveryResponseOrBuilder
        Returns:
        The count of removedResources.
      • getRemovedResources

        public java.lang.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:
        getRemovedResources in interface DeltaDiscoveryResponseOrBuilder
        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 interface DeltaDiscoveryResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the removedResources at the given index.
      • getRemovedResourceNamesList

        public java.util.List<ResourceName> 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 interface DeltaDiscoveryResponseOrBuilder
      • getRemovedResourceNamesOrBuilderList

        public java.util.List<? extends ResourceNameOrBuilder> 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 interface DeltaDiscoveryResponseOrBuilder
      • 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 interface DeltaDiscoveryResponseOrBuilder
      • getRemovedResourceNames

        public ResourceName getRemovedResourceNames​(int index)
         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 interface DeltaDiscoveryResponseOrBuilder
      • getRemovedResourceNamesOrBuilder

        public ResourceNameOrBuilder getRemovedResourceNamesOrBuilder​(int index)
         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 interface DeltaDiscoveryResponseOrBuilder
      • getNonce

        public java.lang.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:
        getNonce in interface DeltaDiscoveryResponseOrBuilder
        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 interface DeltaDiscoveryResponseOrBuilder
        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 interface DeltaDiscoveryResponseOrBuilder
        Returns:
        Whether the controlPlane field is set.
      • getControlPlane

        public ControlPlane getControlPlane()
         [#not-implemented-hide:]
         The control plane instance that sent the response.
         
        .envoy.config.core.v3.ControlPlane control_plane = 7;
        Specified by:
        getControlPlane in interface DeltaDiscoveryResponseOrBuilder
        Returns:
        The controlPlane.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static DeltaDiscoveryResponse parseFrom​(java.nio.ByteBuffer data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DeltaDiscoveryResponse parseFrom​(java.nio.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​(java.io.InputStream input)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static DeltaDiscoveryResponse parseFrom​(java.io.InputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static DeltaDiscoveryResponse parseDelimitedFrom​(java.io.InputStream input)
                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static DeltaDiscoveryResponse parseDelimitedFrom​(java.io.InputStream input,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static DeltaDiscoveryResponse parseFrom​(com.google.protobuf.CodedInputStream input)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static DeltaDiscoveryResponse parseFrom​(com.google.protobuf.CodedInputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public DeltaDiscoveryResponse.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public DeltaDiscoveryResponse.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected DeltaDiscoveryResponse.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getParserForType

        public com.google.protobuf.Parser<DeltaDiscoveryResponse> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • getDefaultInstanceForType

        public DeltaDiscoveryResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder