Class PerXdsConfig

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, PerXdsConfigOrBuilder, java.io.Serializable

    public final class PerXdsConfig
    extends com.google.protobuf.GeneratedMessage
    implements PerXdsConfigOrBuilder
     Detailed config (per xDS) with status.
     [#next-free-field: 8]
     
    Protobuf type envoy.service.status.v3.PerXdsConfig
    See Also:
    Serialized Form
    • Field Detail

      • perXdsConfigCase_

        private int perXdsConfigCase_
      • perXdsConfig_

        private java.lang.Object perXdsConfig_
      • status_

        private int status_
      • CLIENT_STATUS_FIELD_NUMBER

        public static final int CLIENT_STATUS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • clientStatus_

        private int clientStatus_
      • LISTENER_CONFIG_FIELD_NUMBER

        public static final int LISTENER_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CLUSTER_CONFIG_FIELD_NUMBER

        public static final int CLUSTER_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ROUTE_CONFIG_FIELD_NUMBER

        public static final int ROUTE_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SCOPED_ROUTE_CONFIG_FIELD_NUMBER

        public static final int SCOPED_ROUTE_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENDPOINT_CONFIG_FIELD_NUMBER

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

        private byte memoizedIsInitialized
      • DEFAULT_INSTANCE

        private static final PerXdsConfig DEFAULT_INSTANCE
      • PARSER

        private static final com.google.protobuf.Parser<PerXdsConfig> PARSER
    • Constructor Detail

      • PerXdsConfig

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

        private PerXdsConfig()
    • 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
      • getStatusValue

        public int getStatusValue()
         Config status generated by management servers. Will not be present if the
         CSDS server is an xDS client.
         
        .envoy.service.status.v3.ConfigStatus status = 1;
        Specified by:
        getStatusValue in interface PerXdsConfigOrBuilder
        Returns:
        The enum numeric value on the wire for status.
      • getStatus

        public ConfigStatus getStatus()
         Config status generated by management servers. Will not be present if the
         CSDS server is an xDS client.
         
        .envoy.service.status.v3.ConfigStatus status = 1;
        Specified by:
        getStatus in interface PerXdsConfigOrBuilder
        Returns:
        The status.
      • getClientStatusValue

        @Deprecated
        public int getClientStatusValue()
        Deprecated.
        envoy.service.status.v3.PerXdsConfig.client_status is deprecated. See envoy/service/status/v3/csds.proto;l=112
         Client config status is populated by xDS clients. Will not be present if
         the CSDS server is an xDS server. No matter what the client config status
         is, xDS clients should always dump the most recent accepted xDS config.
        
         .. attention::
         This field is deprecated. Use :ref:`ClientResourceStatus
         <envoy_v3_api_enum_admin.v3.ClientResourceStatus>` for per-resource
         config status instead.
         
        .envoy.service.status.v3.ClientConfigStatus client_status = 7 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
        Specified by:
        getClientStatusValue in interface PerXdsConfigOrBuilder
        Returns:
        The enum numeric value on the wire for clientStatus.
      • getClientStatus

        @Deprecated
        public ClientConfigStatus getClientStatus()
        Deprecated.
        envoy.service.status.v3.PerXdsConfig.client_status is deprecated. See envoy/service/status/v3/csds.proto;l=112
         Client config status is populated by xDS clients. Will not be present if
         the CSDS server is an xDS server. No matter what the client config status
         is, xDS clients should always dump the most recent accepted xDS config.
        
         .. attention::
         This field is deprecated. Use :ref:`ClientResourceStatus
         <envoy_v3_api_enum_admin.v3.ClientResourceStatus>` for per-resource
         config status instead.
         
        .envoy.service.status.v3.ClientConfigStatus client_status = 7 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
        Specified by:
        getClientStatus in interface PerXdsConfigOrBuilder
        Returns:
        The clientStatus.
      • hasListenerConfig

        public boolean hasListenerConfig()
        .envoy.admin.v3.ListenersConfigDump listener_config = 2;
        Specified by:
        hasListenerConfig in interface PerXdsConfigOrBuilder
        Returns:
        Whether the listenerConfig field is set.
      • hasClusterConfig

        public boolean hasClusterConfig()
        .envoy.admin.v3.ClustersConfigDump cluster_config = 3;
        Specified by:
        hasClusterConfig in interface PerXdsConfigOrBuilder
        Returns:
        Whether the clusterConfig field is set.
      • hasRouteConfig

        public boolean hasRouteConfig()
        .envoy.admin.v3.RoutesConfigDump route_config = 4;
        Specified by:
        hasRouteConfig in interface PerXdsConfigOrBuilder
        Returns:
        Whether the routeConfig field is set.
      • hasScopedRouteConfig

        public boolean hasScopedRouteConfig()
        .envoy.admin.v3.ScopedRoutesConfigDump scoped_route_config = 5;
        Specified by:
        hasScopedRouteConfig in interface PerXdsConfigOrBuilder
        Returns:
        Whether the scopedRouteConfig field is set.
      • hasEndpointConfig

        public boolean hasEndpointConfig()
        .envoy.admin.v3.EndpointsConfigDump endpoint_config = 6;
        Specified by:
        hasEndpointConfig in interface PerXdsConfigOrBuilder
        Returns:
        Whether the endpointConfig field is set.
      • 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 PerXdsConfig parseFrom​(java.nio.ByteBuffer data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PerXdsConfig parseFrom​(java.nio.ByteBuffer data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PerXdsConfig parseFrom​(com.google.protobuf.ByteString data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PerXdsConfig parseFrom​(com.google.protobuf.ByteString data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PerXdsConfig parseFrom​(byte[] data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PerXdsConfig parseFrom​(byte[] data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PerXdsConfig parseFrom​(java.io.InputStream input)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

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

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

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

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

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

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

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

        public static PerXdsConfig getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<PerXdsConfig> parser()
      • getParserForType

        public com.google.protobuf.Parser<PerXdsConfig> 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 PerXdsConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder