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:
  • 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_

      private volatile Object systemVersionInfo_
    • RESOURCES_FIELD_NUMBER

      public static final int RESOURCES_FIELD_NUMBER
      See Also:
    • resources_

      private List<Resource> resources_
    • TYPE_URL_FIELD_NUMBER

      public static final int TYPE_URL_FIELD_NUMBER
      See Also:
    • typeUrl_

      private volatile Object 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_

      private List<ResourceName> removedResourceNames_
    • NONCE_FIELD_NUMBER

      public static final int NONCE_FIELD_NUMBER
      See Also:
    • nonce_

      private volatile Object nonce_
    • CONTROL_PLANE_FIELD_NUMBER

      public static final int CONTROL_PLANE_FIELD_NUMBER
      See Also:
    • controlPlane_

      private ControlPlane controlPlane_
    • memoizedIsInitialized

      private byte memoizedIsInitialized
    • DEFAULT_INSTANCE

      private static final DeltaDiscoveryResponse DEFAULT_INSTANCE
    • PARSER

      private static final com.google.protobuf.Parser<DeltaDiscoveryResponse> 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 class com.google.protobuf.GeneratedMessage
    • getSystemVersionInfo

      public 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 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
    • getResourcesOrBuilderList

      public List<? extends ResourceOrBuilder> 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 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
    • getResourcesOrBuilder

      public ResourceOrBuilder getResourcesOrBuilder(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:
      getResourcesOrBuilder in interface DeltaDiscoveryResponseOrBuilder
    • 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:
      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 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 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 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 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.
    • getControlPlaneOrBuilder

      public ControlPlaneOrBuilder getControlPlaneOrBuilder()
       [#not-implemented-hide:]
       The control plane instance that sent the response.
       
      .envoy.config.core.v3.ControlPlane control_plane = 7;
      Specified by:
      getControlPlaneOrBuilder in interface DeltaDiscoveryResponseOrBuilder
    • 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 IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      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(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(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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DeltaDiscoveryResponse.Builder newBuilder()
    • newBuilder

      public static DeltaDiscoveryResponse.Builder newBuilder(DeltaDiscoveryResponse prototype)
    • 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
    • getDefaultInstance

      public static DeltaDiscoveryResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DeltaDiscoveryResponse> parser()
    • 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