All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.envoyproxy.envoy.service.status.v3.ClientConfig Maven / Gradle / Ivy

There is a newer version: 1.0.46
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/service/status/v3/csds.proto

package io.envoyproxy.envoy.service.status.v3;

/**
 * 
 * All xds configs for a particular client.
 * 
* * Protobuf type {@code envoy.service.status.v3.ClientConfig} */ public final class ClientConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.service.status.v3.ClientConfig) ClientConfigOrBuilder { private static final long serialVersionUID = 0L; // Use ClientConfig.newBuilder() to construct. private ClientConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ClientConfig() { xdsConfig_ = java.util.Collections.emptyList(); genericXdsConfigs_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ClientConfig(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ClientConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { io.envoyproxy.envoy.config.core.v3.Node.Builder subBuilder = null; if (node_ != null) { subBuilder = node_.toBuilder(); } node_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.Node.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(node_); node_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { xdsConfig_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } xdsConfig_.add( input.readMessage(io.envoyproxy.envoy.service.status.v3.PerXdsConfig.parser(), extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { genericXdsConfigs_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } genericXdsConfigs_.add( input.readMessage(io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { xdsConfig_ = java.util.Collections.unmodifiableList(xdsConfig_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { genericXdsConfigs_ = java.util.Collections.unmodifiableList(genericXdsConfigs_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.service.status.v3.CsdsProto.internal_static_envoy_service_status_v3_ClientConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.service.status.v3.CsdsProto.internal_static_envoy_service_status_v3_ClientConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.service.status.v3.ClientConfig.class, io.envoyproxy.envoy.service.status.v3.ClientConfig.Builder.class); } public interface GenericXdsConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.service.status.v3.ClientConfig.GenericXdsConfig) com.google.protobuf.MessageOrBuilder { /** *
     * Type_url represents the fully qualified name of xDS resource type
     * like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.
     * 
* * string type_url = 1; * @return The typeUrl. */ java.lang.String getTypeUrl(); /** *
     * Type_url represents the fully qualified name of xDS resource type
     * like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.
     * 
* * string type_url = 1; * @return The bytes for typeUrl. */ com.google.protobuf.ByteString getTypeUrlBytes(); /** *
     * Name of the xDS resource
     * 
* * string name = 2; * @return The name. */ java.lang.String getName(); /** *
     * Name of the xDS resource
     * 
* * string name = 2; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>`
     * in the last processed xDS discovery response. If there are only
     * static bootstrap listeners, this field will be ""
     * 
* * string version_info = 3; * @return The versionInfo. */ java.lang.String getVersionInfo(); /** *
     * This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>`
     * in the last processed xDS discovery response. If there are only
     * static bootstrap listeners, this field will be ""
     * 
* * string version_info = 3; * @return The bytes for versionInfo. */ com.google.protobuf.ByteString getVersionInfoBytes(); /** *
     * The xDS resource config. Actual content depends on the type
     * 
* * .google.protobuf.Any xds_config = 4; * @return Whether the xdsConfig field is set. */ boolean hasXdsConfig(); /** *
     * The xDS resource config. Actual content depends on the type
     * 
* * .google.protobuf.Any xds_config = 4; * @return The xdsConfig. */ com.google.protobuf.Any getXdsConfig(); /** *
     * The xDS resource config. Actual content depends on the type
     * 
* * .google.protobuf.Any xds_config = 4; */ com.google.protobuf.AnyOrBuilder getXdsConfigOrBuilder(); /** *
     * Timestamp when the xDS resource was last updated
     * 
* * .google.protobuf.Timestamp last_updated = 5; * @return Whether the lastUpdated field is set. */ boolean hasLastUpdated(); /** *
     * Timestamp when the xDS resource was last updated
     * 
* * .google.protobuf.Timestamp last_updated = 5; * @return The lastUpdated. */ com.google.protobuf.Timestamp getLastUpdated(); /** *
     * Timestamp when the xDS resource was last updated
     * 
* * .google.protobuf.Timestamp last_updated = 5; */ com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder(); /** *
     * Per xDS resource config status. It is generated by management servers.
     * It will not be present if the CSDS server is an xDS client.
     * 
* * .envoy.service.status.v3.ConfigStatus config_status = 6; * @return The enum numeric value on the wire for configStatus. */ int getConfigStatusValue(); /** *
     * Per xDS resource config status. It is generated by management servers.
     * It will not be present if the CSDS server is an xDS client.
     * 
* * .envoy.service.status.v3.ConfigStatus config_status = 6; * @return The configStatus. */ io.envoyproxy.envoy.service.status.v3.ConfigStatus getConfigStatus(); /** *
     * Per xDS resource status from the view of a xDS client
     * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 7; * @return The enum numeric value on the wire for clientStatus. */ int getClientStatusValue(); /** *
     * Per xDS resource status from the view of a xDS client
     * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 7; * @return The clientStatus. */ io.envoyproxy.envoy.admin.v3.ClientResourceStatus getClientStatus(); /** *
     * Set if the last update failed, cleared after the next successful
     * update. The *error_state* field contains the rejected version of
     * this particular resource along with the reason and timestamp. For
     * successfully updated or acknowledged resource, this field should
     * be empty.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.UpdateFailureState error_state = 8; * @return Whether the errorState field is set. */ boolean hasErrorState(); /** *
     * Set if the last update failed, cleared after the next successful
     * update. The *error_state* field contains the rejected version of
     * this particular resource along with the reason and timestamp. For
     * successfully updated or acknowledged resource, this field should
     * be empty.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.UpdateFailureState error_state = 8; * @return The errorState. */ io.envoyproxy.envoy.admin.v3.UpdateFailureState getErrorState(); /** *
     * Set if the last update failed, cleared after the next successful
     * update. The *error_state* field contains the rejected version of
     * this particular resource along with the reason and timestamp. For
     * successfully updated or acknowledged resource, this field should
     * be empty.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.UpdateFailureState error_state = 8; */ io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder getErrorStateOrBuilder(); /** *
     * Is static resource is true if it is specified in the config supplied
     * through the file at the startup.
     * 
* * bool is_static_resource = 9; * @return The isStaticResource. */ boolean getIsStaticResource(); } /** *
   * GenericXdsConfig is used to specify the config status and the dump
   * of any xDS resource identified by their type URL. It is the generalized
   * version of the now deprecated ListenersConfigDump, ClustersConfigDump etc
   * [#next-free-field: 10]
   * 
* * Protobuf type {@code envoy.service.status.v3.ClientConfig.GenericXdsConfig} */ public static final class GenericXdsConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.service.status.v3.ClientConfig.GenericXdsConfig) GenericXdsConfigOrBuilder { private static final long serialVersionUID = 0L; // Use GenericXdsConfig.newBuilder() to construct. private GenericXdsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GenericXdsConfig() { typeUrl_ = ""; name_ = ""; versionInfo_ = ""; configStatus_ = 0; clientStatus_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GenericXdsConfig(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GenericXdsConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); typeUrl_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); versionInfo_ = s; break; } case 34: { com.google.protobuf.Any.Builder subBuilder = null; if (xdsConfig_ != null) { subBuilder = xdsConfig_.toBuilder(); } xdsConfig_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(xdsConfig_); xdsConfig_ = subBuilder.buildPartial(); } break; } case 42: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (lastUpdated_ != null) { subBuilder = lastUpdated_.toBuilder(); } lastUpdated_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(lastUpdated_); lastUpdated_ = subBuilder.buildPartial(); } break; } case 48: { int rawValue = input.readEnum(); configStatus_ = rawValue; break; } case 56: { int rawValue = input.readEnum(); clientStatus_ = rawValue; break; } case 66: { io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder subBuilder = null; if (errorState_ != null) { subBuilder = errorState_.toBuilder(); } errorState_ = input.readMessage(io.envoyproxy.envoy.admin.v3.UpdateFailureState.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(errorState_); errorState_ = subBuilder.buildPartial(); } break; } case 72: { isStaticResource_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.service.status.v3.CsdsProto.internal_static_envoy_service_status_v3_ClientConfig_GenericXdsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.service.status.v3.CsdsProto.internal_static_envoy_service_status_v3_ClientConfig_GenericXdsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.class, io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.Builder.class); } public static final int TYPE_URL_FIELD_NUMBER = 1; private volatile java.lang.Object typeUrl_; /** *
     * Type_url represents the fully qualified name of xDS resource type
     * like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.
     * 
* * string type_url = 1; * @return The typeUrl. */ @java.lang.Override public java.lang.String getTypeUrl() { java.lang.Object ref = typeUrl_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); typeUrl_ = s; return s; } } /** *
     * Type_url represents the fully qualified name of xDS resource type
     * like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.
     * 
* * string type_url = 1; * @return The bytes for typeUrl. */ @java.lang.Override public com.google.protobuf.ByteString getTypeUrlBytes() { java.lang.Object ref = typeUrl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); typeUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     * Name of the xDS resource
     * 
* * string name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * Name of the xDS resource
     * 
* * string name = 2; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VERSION_INFO_FIELD_NUMBER = 3; private volatile java.lang.Object versionInfo_; /** *
     * This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>`
     * in the last processed xDS discovery response. If there are only
     * static bootstrap listeners, this field will be ""
     * 
* * string version_info = 3; * @return The versionInfo. */ @java.lang.Override public java.lang.String getVersionInfo() { java.lang.Object ref = versionInfo_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; } } /** *
     * This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>`
     * in the last processed xDS discovery response. If there are only
     * static bootstrap listeners, this field will be ""
     * 
* * string version_info = 3; * @return The bytes for versionInfo. */ @java.lang.Override public com.google.protobuf.ByteString getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); versionInfo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int XDS_CONFIG_FIELD_NUMBER = 4; private com.google.protobuf.Any xdsConfig_; /** *
     * The xDS resource config. Actual content depends on the type
     * 
* * .google.protobuf.Any xds_config = 4; * @return Whether the xdsConfig field is set. */ @java.lang.Override public boolean hasXdsConfig() { return xdsConfig_ != null; } /** *
     * The xDS resource config. Actual content depends on the type
     * 
* * .google.protobuf.Any xds_config = 4; * @return The xdsConfig. */ @java.lang.Override public com.google.protobuf.Any getXdsConfig() { return xdsConfig_ == null ? com.google.protobuf.Any.getDefaultInstance() : xdsConfig_; } /** *
     * The xDS resource config. Actual content depends on the type
     * 
* * .google.protobuf.Any xds_config = 4; */ @java.lang.Override public com.google.protobuf.AnyOrBuilder getXdsConfigOrBuilder() { return getXdsConfig(); } public static final int LAST_UPDATED_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp lastUpdated_; /** *
     * Timestamp when the xDS resource was last updated
     * 
* * .google.protobuf.Timestamp last_updated = 5; * @return Whether the lastUpdated field is set. */ @java.lang.Override public boolean hasLastUpdated() { return lastUpdated_ != null; } /** *
     * Timestamp when the xDS resource was last updated
     * 
* * .google.protobuf.Timestamp last_updated = 5; * @return The lastUpdated. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdated() { return lastUpdated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdated_; } /** *
     * Timestamp when the xDS resource was last updated
     * 
* * .google.protobuf.Timestamp last_updated = 5; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder() { return getLastUpdated(); } public static final int CONFIG_STATUS_FIELD_NUMBER = 6; private int configStatus_; /** *
     * Per xDS resource config status. It is generated by management servers.
     * It will not be present if the CSDS server is an xDS client.
     * 
* * .envoy.service.status.v3.ConfigStatus config_status = 6; * @return The enum numeric value on the wire for configStatus. */ @java.lang.Override public int getConfigStatusValue() { return configStatus_; } /** *
     * Per xDS resource config status. It is generated by management servers.
     * It will not be present if the CSDS server is an xDS client.
     * 
* * .envoy.service.status.v3.ConfigStatus config_status = 6; * @return The configStatus. */ @java.lang.Override public io.envoyproxy.envoy.service.status.v3.ConfigStatus getConfigStatus() { @SuppressWarnings("deprecation") io.envoyproxy.envoy.service.status.v3.ConfigStatus result = io.envoyproxy.envoy.service.status.v3.ConfigStatus.valueOf(configStatus_); return result == null ? io.envoyproxy.envoy.service.status.v3.ConfigStatus.UNRECOGNIZED : result; } public static final int CLIENT_STATUS_FIELD_NUMBER = 7; private int clientStatus_; /** *
     * Per xDS resource status from the view of a xDS client
     * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 7; * @return The enum numeric value on the wire for clientStatus. */ @java.lang.Override public int getClientStatusValue() { return clientStatus_; } /** *
     * Per xDS resource status from the view of a xDS client
     * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 7; * @return The clientStatus. */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.ClientResourceStatus getClientStatus() { @SuppressWarnings("deprecation") io.envoyproxy.envoy.admin.v3.ClientResourceStatus result = io.envoyproxy.envoy.admin.v3.ClientResourceStatus.valueOf(clientStatus_); return result == null ? io.envoyproxy.envoy.admin.v3.ClientResourceStatus.UNRECOGNIZED : result; } public static final int ERROR_STATE_FIELD_NUMBER = 8; private io.envoyproxy.envoy.admin.v3.UpdateFailureState errorState_; /** *
     * Set if the last update failed, cleared after the next successful
     * update. The *error_state* field contains the rejected version of
     * this particular resource along with the reason and timestamp. For
     * successfully updated or acknowledged resource, this field should
     * be empty.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.UpdateFailureState error_state = 8; * @return Whether the errorState field is set. */ @java.lang.Override public boolean hasErrorState() { return errorState_ != null; } /** *
     * Set if the last update failed, cleared after the next successful
     * update. The *error_state* field contains the rejected version of
     * this particular resource along with the reason and timestamp. For
     * successfully updated or acknowledged resource, this field should
     * be empty.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.UpdateFailureState error_state = 8; * @return The errorState. */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.UpdateFailureState getErrorState() { return errorState_ == null ? io.envoyproxy.envoy.admin.v3.UpdateFailureState.getDefaultInstance() : errorState_; } /** *
     * Set if the last update failed, cleared after the next successful
     * update. The *error_state* field contains the rejected version of
     * this particular resource along with the reason and timestamp. For
     * successfully updated or acknowledged resource, this field should
     * be empty.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.UpdateFailureState error_state = 8; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder getErrorStateOrBuilder() { return getErrorState(); } public static final int IS_STATIC_RESOURCE_FIELD_NUMBER = 9; private boolean isStaticResource_; /** *
     * Is static resource is true if it is specified in the config supplied
     * through the file at the startup.
     * 
* * bool is_static_resource = 9; * @return The isStaticResource. */ @java.lang.Override public boolean getIsStaticResource() { return isStaticResource_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(typeUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, typeUrl_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(versionInfo_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, versionInfo_); } if (xdsConfig_ != null) { output.writeMessage(4, getXdsConfig()); } if (lastUpdated_ != null) { output.writeMessage(5, getLastUpdated()); } if (configStatus_ != io.envoyproxy.envoy.service.status.v3.ConfigStatus.UNKNOWN.getNumber()) { output.writeEnum(6, configStatus_); } if (clientStatus_ != io.envoyproxy.envoy.admin.v3.ClientResourceStatus.UNKNOWN.getNumber()) { output.writeEnum(7, clientStatus_); } if (errorState_ != null) { output.writeMessage(8, getErrorState()); } if (isStaticResource_ != false) { output.writeBool(9, isStaticResource_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(typeUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, typeUrl_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(versionInfo_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, versionInfo_); } if (xdsConfig_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getXdsConfig()); } if (lastUpdated_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getLastUpdated()); } if (configStatus_ != io.envoyproxy.envoy.service.status.v3.ConfigStatus.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, configStatus_); } if (clientStatus_ != io.envoyproxy.envoy.admin.v3.ClientResourceStatus.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(7, clientStatus_); } if (errorState_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getErrorState()); } if (isStaticResource_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(9, isStaticResource_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig)) { return super.equals(obj); } io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig other = (io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig) obj; if (!getTypeUrl() .equals(other.getTypeUrl())) return false; if (!getName() .equals(other.getName())) return false; if (!getVersionInfo() .equals(other.getVersionInfo())) return false; if (hasXdsConfig() != other.hasXdsConfig()) return false; if (hasXdsConfig()) { if (!getXdsConfig() .equals(other.getXdsConfig())) return false; } if (hasLastUpdated() != other.hasLastUpdated()) return false; if (hasLastUpdated()) { if (!getLastUpdated() .equals(other.getLastUpdated())) return false; } if (configStatus_ != other.configStatus_) return false; if (clientStatus_ != other.clientStatus_) return false; if (hasErrorState() != other.hasErrorState()) return false; if (hasErrorState()) { if (!getErrorState() .equals(other.getErrorState())) return false; } if (getIsStaticResource() != other.getIsStaticResource()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TYPE_URL_FIELD_NUMBER; hash = (53 * hash) + getTypeUrl().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + VERSION_INFO_FIELD_NUMBER; hash = (53 * hash) + getVersionInfo().hashCode(); if (hasXdsConfig()) { hash = (37 * hash) + XDS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getXdsConfig().hashCode(); } if (hasLastUpdated()) { hash = (37 * hash) + LAST_UPDATED_FIELD_NUMBER; hash = (53 * hash) + getLastUpdated().hashCode(); } hash = (37 * hash) + CONFIG_STATUS_FIELD_NUMBER; hash = (53 * hash) + configStatus_; hash = (37 * hash) + CLIENT_STATUS_FIELD_NUMBER; hash = (53 * hash) + clientStatus_; if (hasErrorState()) { hash = (37 * hash) + ERROR_STATE_FIELD_NUMBER; hash = (53 * hash) + getErrorState().hashCode(); } hash = (37 * hash) + IS_STATIC_RESOURCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsStaticResource()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * GenericXdsConfig is used to specify the config status and the dump
     * of any xDS resource identified by their type URL. It is the generalized
     * version of the now deprecated ListenersConfigDump, ClustersConfigDump etc
     * [#next-free-field: 10]
     * 
* * Protobuf type {@code envoy.service.status.v3.ClientConfig.GenericXdsConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.service.status.v3.ClientConfig.GenericXdsConfig) io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.service.status.v3.CsdsProto.internal_static_envoy_service_status_v3_ClientConfig_GenericXdsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.service.status.v3.CsdsProto.internal_static_envoy_service_status_v3_ClientConfig_GenericXdsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.class, io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.Builder.class); } // Construct using io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); typeUrl_ = ""; name_ = ""; versionInfo_ = ""; if (xdsConfigBuilder_ == null) { xdsConfig_ = null; } else { xdsConfig_ = null; xdsConfigBuilder_ = null; } if (lastUpdatedBuilder_ == null) { lastUpdated_ = null; } else { lastUpdated_ = null; lastUpdatedBuilder_ = null; } configStatus_ = 0; clientStatus_ = 0; if (errorStateBuilder_ == null) { errorState_ = null; } else { errorState_ = null; errorStateBuilder_ = null; } isStaticResource_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.service.status.v3.CsdsProto.internal_static_envoy_service_status_v3_ClientConfig_GenericXdsConfig_descriptor; } @java.lang.Override public io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig getDefaultInstanceForType() { return io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig build() { io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig buildPartial() { io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig result = new io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig(this); result.typeUrl_ = typeUrl_; result.name_ = name_; result.versionInfo_ = versionInfo_; if (xdsConfigBuilder_ == null) { result.xdsConfig_ = xdsConfig_; } else { result.xdsConfig_ = xdsConfigBuilder_.build(); } if (lastUpdatedBuilder_ == null) { result.lastUpdated_ = lastUpdated_; } else { result.lastUpdated_ = lastUpdatedBuilder_.build(); } result.configStatus_ = configStatus_; result.clientStatus_ = clientStatus_; if (errorStateBuilder_ == null) { result.errorState_ = errorState_; } else { result.errorState_ = errorStateBuilder_.build(); } result.isStaticResource_ = isStaticResource_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig) { return mergeFrom((io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig other) { if (other == io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.getDefaultInstance()) return this; if (!other.getTypeUrl().isEmpty()) { typeUrl_ = other.typeUrl_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getVersionInfo().isEmpty()) { versionInfo_ = other.versionInfo_; onChanged(); } if (other.hasXdsConfig()) { mergeXdsConfig(other.getXdsConfig()); } if (other.hasLastUpdated()) { mergeLastUpdated(other.getLastUpdated()); } if (other.configStatus_ != 0) { setConfigStatusValue(other.getConfigStatusValue()); } if (other.clientStatus_ != 0) { setClientStatusValue(other.getClientStatusValue()); } if (other.hasErrorState()) { mergeErrorState(other.getErrorState()); } if (other.getIsStaticResource() != false) { setIsStaticResource(other.getIsStaticResource()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object typeUrl_ = ""; /** *
       * Type_url represents the fully qualified name of xDS resource type
       * like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.
       * 
* * string type_url = 1; * @return The typeUrl. */ public java.lang.String getTypeUrl() { java.lang.Object ref = typeUrl_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); typeUrl_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Type_url represents the fully qualified name of xDS resource type
       * like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.
       * 
* * string type_url = 1; * @return The bytes for typeUrl. */ public com.google.protobuf.ByteString getTypeUrlBytes() { java.lang.Object ref = typeUrl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); typeUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Type_url represents the fully qualified name of xDS resource type
       * like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.
       * 
* * string type_url = 1; * @param value The typeUrl to set. * @return This builder for chaining. */ public Builder setTypeUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } typeUrl_ = value; onChanged(); return this; } /** *
       * Type_url represents the fully qualified name of xDS resource type
       * like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.
       * 
* * string type_url = 1; * @return This builder for chaining. */ public Builder clearTypeUrl() { typeUrl_ = getDefaultInstance().getTypeUrl(); onChanged(); return this; } /** *
       * Type_url represents the fully qualified name of xDS resource type
       * like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.
       * 
* * string type_url = 1; * @param value The bytes for typeUrl to set. * @return This builder for chaining. */ public Builder setTypeUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); typeUrl_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * Name of the xDS resource
       * 
* * string name = 2; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the xDS resource
       * 
* * string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the xDS resource
       * 
* * string name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * Name of the xDS resource
       * 
* * string name = 2; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Name of the xDS resource
       * 
* * string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private java.lang.Object versionInfo_ = ""; /** *
       * This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>`
       * in the last processed xDS discovery response. If there are only
       * static bootstrap listeners, this field will be ""
       * 
* * string version_info = 3; * @return The versionInfo. */ public java.lang.String getVersionInfo() { java.lang.Object ref = versionInfo_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>`
       * in the last processed xDS discovery response. If there are only
       * static bootstrap listeners, this field will be ""
       * 
* * string version_info = 3; * @return The bytes for versionInfo. */ public com.google.protobuf.ByteString getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); versionInfo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>`
       * in the last processed xDS discovery response. If there are only
       * static bootstrap listeners, this field will be ""
       * 
* * string version_info = 3; * @param value The versionInfo to set. * @return This builder for chaining. */ public Builder setVersionInfo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } versionInfo_ = value; onChanged(); return this; } /** *
       * This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>`
       * in the last processed xDS discovery response. If there are only
       * static bootstrap listeners, this field will be ""
       * 
* * string version_info = 3; * @return This builder for chaining. */ public Builder clearVersionInfo() { versionInfo_ = getDefaultInstance().getVersionInfo(); onChanged(); return this; } /** *
       * This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>`
       * in the last processed xDS discovery response. If there are only
       * static bootstrap listeners, this field will be ""
       * 
* * string version_info = 3; * @param value The bytes for versionInfo to set. * @return This builder for chaining. */ public Builder setVersionInfoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); versionInfo_ = value; onChanged(); return this; } private com.google.protobuf.Any xdsConfig_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> xdsConfigBuilder_; /** *
       * The xDS resource config. Actual content depends on the type
       * 
* * .google.protobuf.Any xds_config = 4; * @return Whether the xdsConfig field is set. */ public boolean hasXdsConfig() { return xdsConfigBuilder_ != null || xdsConfig_ != null; } /** *
       * The xDS resource config. Actual content depends on the type
       * 
* * .google.protobuf.Any xds_config = 4; * @return The xdsConfig. */ public com.google.protobuf.Any getXdsConfig() { if (xdsConfigBuilder_ == null) { return xdsConfig_ == null ? com.google.protobuf.Any.getDefaultInstance() : xdsConfig_; } else { return xdsConfigBuilder_.getMessage(); } } /** *
       * The xDS resource config. Actual content depends on the type
       * 
* * .google.protobuf.Any xds_config = 4; */ public Builder setXdsConfig(com.google.protobuf.Any value) { if (xdsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } xdsConfig_ = value; onChanged(); } else { xdsConfigBuilder_.setMessage(value); } return this; } /** *
       * The xDS resource config. Actual content depends on the type
       * 
* * .google.protobuf.Any xds_config = 4; */ public Builder setXdsConfig( com.google.protobuf.Any.Builder builderForValue) { if (xdsConfigBuilder_ == null) { xdsConfig_ = builderForValue.build(); onChanged(); } else { xdsConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The xDS resource config. Actual content depends on the type
       * 
* * .google.protobuf.Any xds_config = 4; */ public Builder mergeXdsConfig(com.google.protobuf.Any value) { if (xdsConfigBuilder_ == null) { if (xdsConfig_ != null) { xdsConfig_ = com.google.protobuf.Any.newBuilder(xdsConfig_).mergeFrom(value).buildPartial(); } else { xdsConfig_ = value; } onChanged(); } else { xdsConfigBuilder_.mergeFrom(value); } return this; } /** *
       * The xDS resource config. Actual content depends on the type
       * 
* * .google.protobuf.Any xds_config = 4; */ public Builder clearXdsConfig() { if (xdsConfigBuilder_ == null) { xdsConfig_ = null; onChanged(); } else { xdsConfig_ = null; xdsConfigBuilder_ = null; } return this; } /** *
       * The xDS resource config. Actual content depends on the type
       * 
* * .google.protobuf.Any xds_config = 4; */ public com.google.protobuf.Any.Builder getXdsConfigBuilder() { onChanged(); return getXdsConfigFieldBuilder().getBuilder(); } /** *
       * The xDS resource config. Actual content depends on the type
       * 
* * .google.protobuf.Any xds_config = 4; */ public com.google.protobuf.AnyOrBuilder getXdsConfigOrBuilder() { if (xdsConfigBuilder_ != null) { return xdsConfigBuilder_.getMessageOrBuilder(); } else { return xdsConfig_ == null ? com.google.protobuf.Any.getDefaultInstance() : xdsConfig_; } } /** *
       * The xDS resource config. Actual content depends on the type
       * 
* * .google.protobuf.Any xds_config = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getXdsConfigFieldBuilder() { if (xdsConfigBuilder_ == null) { xdsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( getXdsConfig(), getParentForChildren(), isClean()); xdsConfig_ = null; } return xdsConfigBuilder_; } private com.google.protobuf.Timestamp lastUpdated_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdatedBuilder_; /** *
       * Timestamp when the xDS resource was last updated
       * 
* * .google.protobuf.Timestamp last_updated = 5; * @return Whether the lastUpdated field is set. */ public boolean hasLastUpdated() { return lastUpdatedBuilder_ != null || lastUpdated_ != null; } /** *
       * Timestamp when the xDS resource was last updated
       * 
* * .google.protobuf.Timestamp last_updated = 5; * @return The lastUpdated. */ public com.google.protobuf.Timestamp getLastUpdated() { if (lastUpdatedBuilder_ == null) { return lastUpdated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdated_; } else { return lastUpdatedBuilder_.getMessage(); } } /** *
       * Timestamp when the xDS resource was last updated
       * 
* * .google.protobuf.Timestamp last_updated = 5; */ public Builder setLastUpdated(com.google.protobuf.Timestamp value) { if (lastUpdatedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lastUpdated_ = value; onChanged(); } else { lastUpdatedBuilder_.setMessage(value); } return this; } /** *
       * Timestamp when the xDS resource was last updated
       * 
* * .google.protobuf.Timestamp last_updated = 5; */ public Builder setLastUpdated( com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdatedBuilder_ == null) { lastUpdated_ = builderForValue.build(); onChanged(); } else { lastUpdatedBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Timestamp when the xDS resource was last updated
       * 
* * .google.protobuf.Timestamp last_updated = 5; */ public Builder mergeLastUpdated(com.google.protobuf.Timestamp value) { if (lastUpdatedBuilder_ == null) { if (lastUpdated_ != null) { lastUpdated_ = com.google.protobuf.Timestamp.newBuilder(lastUpdated_).mergeFrom(value).buildPartial(); } else { lastUpdated_ = value; } onChanged(); } else { lastUpdatedBuilder_.mergeFrom(value); } return this; } /** *
       * Timestamp when the xDS resource was last updated
       * 
* * .google.protobuf.Timestamp last_updated = 5; */ public Builder clearLastUpdated() { if (lastUpdatedBuilder_ == null) { lastUpdated_ = null; onChanged(); } else { lastUpdated_ = null; lastUpdatedBuilder_ = null; } return this; } /** *
       * Timestamp when the xDS resource was last updated
       * 
* * .google.protobuf.Timestamp last_updated = 5; */ public com.google.protobuf.Timestamp.Builder getLastUpdatedBuilder() { onChanged(); return getLastUpdatedFieldBuilder().getBuilder(); } /** *
       * Timestamp when the xDS resource was last updated
       * 
* * .google.protobuf.Timestamp last_updated = 5; */ public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder() { if (lastUpdatedBuilder_ != null) { return lastUpdatedBuilder_.getMessageOrBuilder(); } else { return lastUpdated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdated_; } } /** *
       * Timestamp when the xDS resource was last updated
       * 
* * .google.protobuf.Timestamp last_updated = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastUpdatedFieldBuilder() { if (lastUpdatedBuilder_ == null) { lastUpdatedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getLastUpdated(), getParentForChildren(), isClean()); lastUpdated_ = null; } return lastUpdatedBuilder_; } private int configStatus_ = 0; /** *
       * Per xDS resource config status. It is generated by management servers.
       * It will not be present if the CSDS server is an xDS client.
       * 
* * .envoy.service.status.v3.ConfigStatus config_status = 6; * @return The enum numeric value on the wire for configStatus. */ @java.lang.Override public int getConfigStatusValue() { return configStatus_; } /** *
       * Per xDS resource config status. It is generated by management servers.
       * It will not be present if the CSDS server is an xDS client.
       * 
* * .envoy.service.status.v3.ConfigStatus config_status = 6; * @param value The enum numeric value on the wire for configStatus to set. * @return This builder for chaining. */ public Builder setConfigStatusValue(int value) { configStatus_ = value; onChanged(); return this; } /** *
       * Per xDS resource config status. It is generated by management servers.
       * It will not be present if the CSDS server is an xDS client.
       * 
* * .envoy.service.status.v3.ConfigStatus config_status = 6; * @return The configStatus. */ @java.lang.Override public io.envoyproxy.envoy.service.status.v3.ConfigStatus getConfigStatus() { @SuppressWarnings("deprecation") io.envoyproxy.envoy.service.status.v3.ConfigStatus result = io.envoyproxy.envoy.service.status.v3.ConfigStatus.valueOf(configStatus_); return result == null ? io.envoyproxy.envoy.service.status.v3.ConfigStatus.UNRECOGNIZED : result; } /** *
       * Per xDS resource config status. It is generated by management servers.
       * It will not be present if the CSDS server is an xDS client.
       * 
* * .envoy.service.status.v3.ConfigStatus config_status = 6; * @param value The configStatus to set. * @return This builder for chaining. */ public Builder setConfigStatus(io.envoyproxy.envoy.service.status.v3.ConfigStatus value) { if (value == null) { throw new NullPointerException(); } configStatus_ = value.getNumber(); onChanged(); return this; } /** *
       * Per xDS resource config status. It is generated by management servers.
       * It will not be present if the CSDS server is an xDS client.
       * 
* * .envoy.service.status.v3.ConfigStatus config_status = 6; * @return This builder for chaining. */ public Builder clearConfigStatus() { configStatus_ = 0; onChanged(); return this; } private int clientStatus_ = 0; /** *
       * Per xDS resource status from the view of a xDS client
       * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 7; * @return The enum numeric value on the wire for clientStatus. */ @java.lang.Override public int getClientStatusValue() { return clientStatus_; } /** *
       * Per xDS resource status from the view of a xDS client
       * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 7; * @param value The enum numeric value on the wire for clientStatus to set. * @return This builder for chaining. */ public Builder setClientStatusValue(int value) { clientStatus_ = value; onChanged(); return this; } /** *
       * Per xDS resource status from the view of a xDS client
       * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 7; * @return The clientStatus. */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.ClientResourceStatus getClientStatus() { @SuppressWarnings("deprecation") io.envoyproxy.envoy.admin.v3.ClientResourceStatus result = io.envoyproxy.envoy.admin.v3.ClientResourceStatus.valueOf(clientStatus_); return result == null ? io.envoyproxy.envoy.admin.v3.ClientResourceStatus.UNRECOGNIZED : result; } /** *
       * Per xDS resource status from the view of a xDS client
       * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 7; * @param value The clientStatus to set. * @return This builder for chaining. */ public Builder setClientStatus(io.envoyproxy.envoy.admin.v3.ClientResourceStatus value) { if (value == null) { throw new NullPointerException(); } clientStatus_ = value.getNumber(); onChanged(); return this; } /** *
       * Per xDS resource status from the view of a xDS client
       * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 7; * @return This builder for chaining. */ public Builder clearClientStatus() { clientStatus_ = 0; onChanged(); return this; } private io.envoyproxy.envoy.admin.v3.UpdateFailureState errorState_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.admin.v3.UpdateFailureState, io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder, io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder> errorStateBuilder_; /** *
       * Set if the last update failed, cleared after the next successful
       * update. The *error_state* field contains the rejected version of
       * this particular resource along with the reason and timestamp. For
       * successfully updated or acknowledged resource, this field should
       * be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 8; * @return Whether the errorState field is set. */ public boolean hasErrorState() { return errorStateBuilder_ != null || errorState_ != null; } /** *
       * Set if the last update failed, cleared after the next successful
       * update. The *error_state* field contains the rejected version of
       * this particular resource along with the reason and timestamp. For
       * successfully updated or acknowledged resource, this field should
       * be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 8; * @return The errorState. */ public io.envoyproxy.envoy.admin.v3.UpdateFailureState getErrorState() { if (errorStateBuilder_ == null) { return errorState_ == null ? io.envoyproxy.envoy.admin.v3.UpdateFailureState.getDefaultInstance() : errorState_; } else { return errorStateBuilder_.getMessage(); } } /** *
       * Set if the last update failed, cleared after the next successful
       * update. The *error_state* field contains the rejected version of
       * this particular resource along with the reason and timestamp. For
       * successfully updated or acknowledged resource, this field should
       * be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 8; */ public Builder setErrorState(io.envoyproxy.envoy.admin.v3.UpdateFailureState value) { if (errorStateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } errorState_ = value; onChanged(); } else { errorStateBuilder_.setMessage(value); } return this; } /** *
       * Set if the last update failed, cleared after the next successful
       * update. The *error_state* field contains the rejected version of
       * this particular resource along with the reason and timestamp. For
       * successfully updated or acknowledged resource, this field should
       * be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 8; */ public Builder setErrorState( io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder builderForValue) { if (errorStateBuilder_ == null) { errorState_ = builderForValue.build(); onChanged(); } else { errorStateBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Set if the last update failed, cleared after the next successful
       * update. The *error_state* field contains the rejected version of
       * this particular resource along with the reason and timestamp. For
       * successfully updated or acknowledged resource, this field should
       * be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 8; */ public Builder mergeErrorState(io.envoyproxy.envoy.admin.v3.UpdateFailureState value) { if (errorStateBuilder_ == null) { if (errorState_ != null) { errorState_ = io.envoyproxy.envoy.admin.v3.UpdateFailureState.newBuilder(errorState_).mergeFrom(value).buildPartial(); } else { errorState_ = value; } onChanged(); } else { errorStateBuilder_.mergeFrom(value); } return this; } /** *
       * Set if the last update failed, cleared after the next successful
       * update. The *error_state* field contains the rejected version of
       * this particular resource along with the reason and timestamp. For
       * successfully updated or acknowledged resource, this field should
       * be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 8; */ public Builder clearErrorState() { if (errorStateBuilder_ == null) { errorState_ = null; onChanged(); } else { errorState_ = null; errorStateBuilder_ = null; } return this; } /** *
       * Set if the last update failed, cleared after the next successful
       * update. The *error_state* field contains the rejected version of
       * this particular resource along with the reason and timestamp. For
       * successfully updated or acknowledged resource, this field should
       * be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 8; */ public io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder getErrorStateBuilder() { onChanged(); return getErrorStateFieldBuilder().getBuilder(); } /** *
       * Set if the last update failed, cleared after the next successful
       * update. The *error_state* field contains the rejected version of
       * this particular resource along with the reason and timestamp. For
       * successfully updated or acknowledged resource, this field should
       * be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 8; */ public io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder getErrorStateOrBuilder() { if (errorStateBuilder_ != null) { return errorStateBuilder_.getMessageOrBuilder(); } else { return errorState_ == null ? io.envoyproxy.envoy.admin.v3.UpdateFailureState.getDefaultInstance() : errorState_; } } /** *
       * Set if the last update failed, cleared after the next successful
       * update. The *error_state* field contains the rejected version of
       * this particular resource along with the reason and timestamp. For
       * successfully updated or acknowledged resource, this field should
       * be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 8; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.admin.v3.UpdateFailureState, io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder, io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder> getErrorStateFieldBuilder() { if (errorStateBuilder_ == null) { errorStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.admin.v3.UpdateFailureState, io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder, io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder>( getErrorState(), getParentForChildren(), isClean()); errorState_ = null; } return errorStateBuilder_; } private boolean isStaticResource_ ; /** *
       * Is static resource is true if it is specified in the config supplied
       * through the file at the startup.
       * 
* * bool is_static_resource = 9; * @return The isStaticResource. */ @java.lang.Override public boolean getIsStaticResource() { return isStaticResource_; } /** *
       * Is static resource is true if it is specified in the config supplied
       * through the file at the startup.
       * 
* * bool is_static_resource = 9; * @param value The isStaticResource to set. * @return This builder for chaining. */ public Builder setIsStaticResource(boolean value) { isStaticResource_ = value; onChanged(); return this; } /** *
       * Is static resource is true if it is specified in the config supplied
       * through the file at the startup.
       * 
* * bool is_static_resource = 9; * @return This builder for chaining. */ public Builder clearIsStaticResource() { isStaticResource_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.service.status.v3.ClientConfig.GenericXdsConfig) } // @@protoc_insertion_point(class_scope:envoy.service.status.v3.ClientConfig.GenericXdsConfig) private static final io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig(); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GenericXdsConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GenericXdsConfig(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int NODE_FIELD_NUMBER = 1; private io.envoyproxy.envoy.config.core.v3.Node node_; /** *
   * Node for a particular client.
   * 
* * .envoy.config.core.v3.Node node = 1; * @return Whether the node field is set. */ @java.lang.Override public boolean hasNode() { return node_ != null; } /** *
   * Node for a particular client.
   * 
* * .envoy.config.core.v3.Node node = 1; * @return The node. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.Node getNode() { return node_ == null ? io.envoyproxy.envoy.config.core.v3.Node.getDefaultInstance() : node_; } /** *
   * Node for a particular client.
   * 
* * .envoy.config.core.v3.Node node = 1; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.NodeOrBuilder getNodeOrBuilder() { return getNode(); } public static final int XDS_CONFIG_FIELD_NUMBER = 2; private java.util.List xdsConfig_; /** *
   * This field is deprecated in favor of generic_xds_configs which is
   * much simpler and uniform in structure.
   * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Override @java.lang.Deprecated public java.util.List getXdsConfigList() { return xdsConfig_; } /** *
   * This field is deprecated in favor of generic_xds_configs which is
   * much simpler and uniform in structure.
   * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Override @java.lang.Deprecated public java.util.List getXdsConfigOrBuilderList() { return xdsConfig_; } /** *
   * This field is deprecated in favor of generic_xds_configs which is
   * much simpler and uniform in structure.
   * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Override @java.lang.Deprecated public int getXdsConfigCount() { return xdsConfig_.size(); } /** *
   * This field is deprecated in favor of generic_xds_configs which is
   * much simpler and uniform in structure.
   * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Override @java.lang.Deprecated public io.envoyproxy.envoy.service.status.v3.PerXdsConfig getXdsConfig(int index) { return xdsConfig_.get(index); } /** *
   * This field is deprecated in favor of generic_xds_configs which is
   * much simpler and uniform in structure.
   * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Override @java.lang.Deprecated public io.envoyproxy.envoy.service.status.v3.PerXdsConfigOrBuilder getXdsConfigOrBuilder( int index) { return xdsConfig_.get(index); } public static final int GENERIC_XDS_CONFIGS_FIELD_NUMBER = 3; private java.util.List genericXdsConfigs_; /** *
   * Represents generic xDS config and the exact config structure depends on
   * the type URL (like Cluster if it is CDS)
   * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ @java.lang.Override public java.util.List getGenericXdsConfigsList() { return genericXdsConfigs_; } /** *
   * Represents generic xDS config and the exact config structure depends on
   * the type URL (like Cluster if it is CDS)
   * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ @java.lang.Override public java.util.List getGenericXdsConfigsOrBuilderList() { return genericXdsConfigs_; } /** *
   * Represents generic xDS config and the exact config structure depends on
   * the type URL (like Cluster if it is CDS)
   * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ @java.lang.Override public int getGenericXdsConfigsCount() { return genericXdsConfigs_.size(); } /** *
   * Represents generic xDS config and the exact config structure depends on
   * the type URL (like Cluster if it is CDS)
   * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ @java.lang.Override public io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig getGenericXdsConfigs(int index) { return genericXdsConfigs_.get(index); } /** *
   * Represents generic xDS config and the exact config structure depends on
   * the type URL (like Cluster if it is CDS)
   * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ @java.lang.Override public io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfigOrBuilder getGenericXdsConfigsOrBuilder( int index) { return genericXdsConfigs_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (node_ != null) { output.writeMessage(1, getNode()); } for (int i = 0; i < xdsConfig_.size(); i++) { output.writeMessage(2, xdsConfig_.get(i)); } for (int i = 0; i < genericXdsConfigs_.size(); i++) { output.writeMessage(3, genericXdsConfigs_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (node_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getNode()); } for (int i = 0; i < xdsConfig_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, xdsConfig_.get(i)); } for (int i = 0; i < genericXdsConfigs_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, genericXdsConfigs_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.service.status.v3.ClientConfig)) { return super.equals(obj); } io.envoyproxy.envoy.service.status.v3.ClientConfig other = (io.envoyproxy.envoy.service.status.v3.ClientConfig) obj; if (hasNode() != other.hasNode()) return false; if (hasNode()) { if (!getNode() .equals(other.getNode())) return false; } if (!getXdsConfigList() .equals(other.getXdsConfigList())) return false; if (!getGenericXdsConfigsList() .equals(other.getGenericXdsConfigsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasNode()) { hash = (37 * hash) + NODE_FIELD_NUMBER; hash = (53 * hash) + getNode().hashCode(); } if (getXdsConfigCount() > 0) { hash = (37 * hash) + XDS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getXdsConfigList().hashCode(); } if (getGenericXdsConfigsCount() > 0) { hash = (37 * hash) + GENERIC_XDS_CONFIGS_FIELD_NUMBER; hash = (53 * hash) + getGenericXdsConfigsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.service.status.v3.ClientConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.service.status.v3.ClientConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * All xds configs for a particular client.
   * 
* * Protobuf type {@code envoy.service.status.v3.ClientConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.service.status.v3.ClientConfig) io.envoyproxy.envoy.service.status.v3.ClientConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.service.status.v3.CsdsProto.internal_static_envoy_service_status_v3_ClientConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.service.status.v3.CsdsProto.internal_static_envoy_service_status_v3_ClientConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.service.status.v3.ClientConfig.class, io.envoyproxy.envoy.service.status.v3.ClientConfig.Builder.class); } // Construct using io.envoyproxy.envoy.service.status.v3.ClientConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getXdsConfigFieldBuilder(); getGenericXdsConfigsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (nodeBuilder_ == null) { node_ = null; } else { node_ = null; nodeBuilder_ = null; } if (xdsConfigBuilder_ == null) { xdsConfig_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { xdsConfigBuilder_.clear(); } if (genericXdsConfigsBuilder_ == null) { genericXdsConfigs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { genericXdsConfigsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.service.status.v3.CsdsProto.internal_static_envoy_service_status_v3_ClientConfig_descriptor; } @java.lang.Override public io.envoyproxy.envoy.service.status.v3.ClientConfig getDefaultInstanceForType() { return io.envoyproxy.envoy.service.status.v3.ClientConfig.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.service.status.v3.ClientConfig build() { io.envoyproxy.envoy.service.status.v3.ClientConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.service.status.v3.ClientConfig buildPartial() { io.envoyproxy.envoy.service.status.v3.ClientConfig result = new io.envoyproxy.envoy.service.status.v3.ClientConfig(this); int from_bitField0_ = bitField0_; if (nodeBuilder_ == null) { result.node_ = node_; } else { result.node_ = nodeBuilder_.build(); } if (xdsConfigBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { xdsConfig_ = java.util.Collections.unmodifiableList(xdsConfig_); bitField0_ = (bitField0_ & ~0x00000001); } result.xdsConfig_ = xdsConfig_; } else { result.xdsConfig_ = xdsConfigBuilder_.build(); } if (genericXdsConfigsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { genericXdsConfigs_ = java.util.Collections.unmodifiableList(genericXdsConfigs_); bitField0_ = (bitField0_ & ~0x00000002); } result.genericXdsConfigs_ = genericXdsConfigs_; } else { result.genericXdsConfigs_ = genericXdsConfigsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.service.status.v3.ClientConfig) { return mergeFrom((io.envoyproxy.envoy.service.status.v3.ClientConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.service.status.v3.ClientConfig other) { if (other == io.envoyproxy.envoy.service.status.v3.ClientConfig.getDefaultInstance()) return this; if (other.hasNode()) { mergeNode(other.getNode()); } if (xdsConfigBuilder_ == null) { if (!other.xdsConfig_.isEmpty()) { if (xdsConfig_.isEmpty()) { xdsConfig_ = other.xdsConfig_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureXdsConfigIsMutable(); xdsConfig_.addAll(other.xdsConfig_); } onChanged(); } } else { if (!other.xdsConfig_.isEmpty()) { if (xdsConfigBuilder_.isEmpty()) { xdsConfigBuilder_.dispose(); xdsConfigBuilder_ = null; xdsConfig_ = other.xdsConfig_; bitField0_ = (bitField0_ & ~0x00000001); xdsConfigBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getXdsConfigFieldBuilder() : null; } else { xdsConfigBuilder_.addAllMessages(other.xdsConfig_); } } } if (genericXdsConfigsBuilder_ == null) { if (!other.genericXdsConfigs_.isEmpty()) { if (genericXdsConfigs_.isEmpty()) { genericXdsConfigs_ = other.genericXdsConfigs_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureGenericXdsConfigsIsMutable(); genericXdsConfigs_.addAll(other.genericXdsConfigs_); } onChanged(); } } else { if (!other.genericXdsConfigs_.isEmpty()) { if (genericXdsConfigsBuilder_.isEmpty()) { genericXdsConfigsBuilder_.dispose(); genericXdsConfigsBuilder_ = null; genericXdsConfigs_ = other.genericXdsConfigs_; bitField0_ = (bitField0_ & ~0x00000002); genericXdsConfigsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getGenericXdsConfigsFieldBuilder() : null; } else { genericXdsConfigsBuilder_.addAllMessages(other.genericXdsConfigs_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.envoyproxy.envoy.service.status.v3.ClientConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.service.status.v3.ClientConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private io.envoyproxy.envoy.config.core.v3.Node node_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Node, io.envoyproxy.envoy.config.core.v3.Node.Builder, io.envoyproxy.envoy.config.core.v3.NodeOrBuilder> nodeBuilder_; /** *
     * Node for a particular client.
     * 
* * .envoy.config.core.v3.Node node = 1; * @return Whether the node field is set. */ public boolean hasNode() { return nodeBuilder_ != null || node_ != null; } /** *
     * Node for a particular client.
     * 
* * .envoy.config.core.v3.Node node = 1; * @return The node. */ public io.envoyproxy.envoy.config.core.v3.Node getNode() { if (nodeBuilder_ == null) { return node_ == null ? io.envoyproxy.envoy.config.core.v3.Node.getDefaultInstance() : node_; } else { return nodeBuilder_.getMessage(); } } /** *
     * Node for a particular client.
     * 
* * .envoy.config.core.v3.Node node = 1; */ public Builder setNode(io.envoyproxy.envoy.config.core.v3.Node value) { if (nodeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } node_ = value; onChanged(); } else { nodeBuilder_.setMessage(value); } return this; } /** *
     * Node for a particular client.
     * 
* * .envoy.config.core.v3.Node node = 1; */ public Builder setNode( io.envoyproxy.envoy.config.core.v3.Node.Builder builderForValue) { if (nodeBuilder_ == null) { node_ = builderForValue.build(); onChanged(); } else { nodeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Node for a particular client.
     * 
* * .envoy.config.core.v3.Node node = 1; */ public Builder mergeNode(io.envoyproxy.envoy.config.core.v3.Node value) { if (nodeBuilder_ == null) { if (node_ != null) { node_ = io.envoyproxy.envoy.config.core.v3.Node.newBuilder(node_).mergeFrom(value).buildPartial(); } else { node_ = value; } onChanged(); } else { nodeBuilder_.mergeFrom(value); } return this; } /** *
     * Node for a particular client.
     * 
* * .envoy.config.core.v3.Node node = 1; */ public Builder clearNode() { if (nodeBuilder_ == null) { node_ = null; onChanged(); } else { node_ = null; nodeBuilder_ = null; } return this; } /** *
     * Node for a particular client.
     * 
* * .envoy.config.core.v3.Node node = 1; */ public io.envoyproxy.envoy.config.core.v3.Node.Builder getNodeBuilder() { onChanged(); return getNodeFieldBuilder().getBuilder(); } /** *
     * Node for a particular client.
     * 
* * .envoy.config.core.v3.Node node = 1; */ public io.envoyproxy.envoy.config.core.v3.NodeOrBuilder getNodeOrBuilder() { if (nodeBuilder_ != null) { return nodeBuilder_.getMessageOrBuilder(); } else { return node_ == null ? io.envoyproxy.envoy.config.core.v3.Node.getDefaultInstance() : node_; } } /** *
     * Node for a particular client.
     * 
* * .envoy.config.core.v3.Node node = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Node, io.envoyproxy.envoy.config.core.v3.Node.Builder, io.envoyproxy.envoy.config.core.v3.NodeOrBuilder> getNodeFieldBuilder() { if (nodeBuilder_ == null) { nodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Node, io.envoyproxy.envoy.config.core.v3.Node.Builder, io.envoyproxy.envoy.config.core.v3.NodeOrBuilder>( getNode(), getParentForChildren(), isClean()); node_ = null; } return nodeBuilder_; } private java.util.List xdsConfig_ = java.util.Collections.emptyList(); private void ensureXdsConfigIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { xdsConfig_ = new java.util.ArrayList(xdsConfig_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.service.status.v3.PerXdsConfig, io.envoyproxy.envoy.service.status.v3.PerXdsConfig.Builder, io.envoyproxy.envoy.service.status.v3.PerXdsConfigOrBuilder> xdsConfigBuilder_; /** *
     * This field is deprecated in favor of generic_xds_configs which is
     * much simpler and uniform in structure.
     * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public java.util.List getXdsConfigList() { if (xdsConfigBuilder_ == null) { return java.util.Collections.unmodifiableList(xdsConfig_); } else { return xdsConfigBuilder_.getMessageList(); } } /** *
     * This field is deprecated in favor of generic_xds_configs which is
     * much simpler and uniform in structure.
     * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public int getXdsConfigCount() { if (xdsConfigBuilder_ == null) { return xdsConfig_.size(); } else { return xdsConfigBuilder_.getCount(); } } /** *
     * This field is deprecated in favor of generic_xds_configs which is
     * much simpler and uniform in structure.
     * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public io.envoyproxy.envoy.service.status.v3.PerXdsConfig getXdsConfig(int index) { if (xdsConfigBuilder_ == null) { return xdsConfig_.get(index); } else { return xdsConfigBuilder_.getMessage(index); } } /** *
     * This field is deprecated in favor of generic_xds_configs which is
     * much simpler and uniform in structure.
     * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder setXdsConfig( int index, io.envoyproxy.envoy.service.status.v3.PerXdsConfig value) { if (xdsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureXdsConfigIsMutable(); xdsConfig_.set(index, value); onChanged(); } else { xdsConfigBuilder_.setMessage(index, value); } return this; } /** *
     * This field is deprecated in favor of generic_xds_configs which is
     * much simpler and uniform in structure.
     * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder setXdsConfig( int index, io.envoyproxy.envoy.service.status.v3.PerXdsConfig.Builder builderForValue) { if (xdsConfigBuilder_ == null) { ensureXdsConfigIsMutable(); xdsConfig_.set(index, builderForValue.build()); onChanged(); } else { xdsConfigBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * This field is deprecated in favor of generic_xds_configs which is
     * much simpler and uniform in structure.
     * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder addXdsConfig(io.envoyproxy.envoy.service.status.v3.PerXdsConfig value) { if (xdsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureXdsConfigIsMutable(); xdsConfig_.add(value); onChanged(); } else { xdsConfigBuilder_.addMessage(value); } return this; } /** *
     * This field is deprecated in favor of generic_xds_configs which is
     * much simpler and uniform in structure.
     * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder addXdsConfig( int index, io.envoyproxy.envoy.service.status.v3.PerXdsConfig value) { if (xdsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureXdsConfigIsMutable(); xdsConfig_.add(index, value); onChanged(); } else { xdsConfigBuilder_.addMessage(index, value); } return this; } /** *
     * This field is deprecated in favor of generic_xds_configs which is
     * much simpler and uniform in structure.
     * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder addXdsConfig( io.envoyproxy.envoy.service.status.v3.PerXdsConfig.Builder builderForValue) { if (xdsConfigBuilder_ == null) { ensureXdsConfigIsMutable(); xdsConfig_.add(builderForValue.build()); onChanged(); } else { xdsConfigBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * This field is deprecated in favor of generic_xds_configs which is
     * much simpler and uniform in structure.
     * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder addXdsConfig( int index, io.envoyproxy.envoy.service.status.v3.PerXdsConfig.Builder builderForValue) { if (xdsConfigBuilder_ == null) { ensureXdsConfigIsMutable(); xdsConfig_.add(index, builderForValue.build()); onChanged(); } else { xdsConfigBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * This field is deprecated in favor of generic_xds_configs which is
     * much simpler and uniform in structure.
     * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder addAllXdsConfig( java.lang.Iterable values) { if (xdsConfigBuilder_ == null) { ensureXdsConfigIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, xdsConfig_); onChanged(); } else { xdsConfigBuilder_.addAllMessages(values); } return this; } /** *
     * This field is deprecated in favor of generic_xds_configs which is
     * much simpler and uniform in structure.
     * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder clearXdsConfig() { if (xdsConfigBuilder_ == null) { xdsConfig_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { xdsConfigBuilder_.clear(); } return this; } /** *
     * This field is deprecated in favor of generic_xds_configs which is
     * much simpler and uniform in structure.
     * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder removeXdsConfig(int index) { if (xdsConfigBuilder_ == null) { ensureXdsConfigIsMutable(); xdsConfig_.remove(index); onChanged(); } else { xdsConfigBuilder_.remove(index); } return this; } /** *
     * This field is deprecated in favor of generic_xds_configs which is
     * much simpler and uniform in structure.
     * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public io.envoyproxy.envoy.service.status.v3.PerXdsConfig.Builder getXdsConfigBuilder( int index) { return getXdsConfigFieldBuilder().getBuilder(index); } /** *
     * This field is deprecated in favor of generic_xds_configs which is
     * much simpler and uniform in structure.
     * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public io.envoyproxy.envoy.service.status.v3.PerXdsConfigOrBuilder getXdsConfigOrBuilder( int index) { if (xdsConfigBuilder_ == null) { return xdsConfig_.get(index); } else { return xdsConfigBuilder_.getMessageOrBuilder(index); } } /** *
     * This field is deprecated in favor of generic_xds_configs which is
     * much simpler and uniform in structure.
     * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public java.util.List getXdsConfigOrBuilderList() { if (xdsConfigBuilder_ != null) { return xdsConfigBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(xdsConfig_); } } /** *
     * This field is deprecated in favor of generic_xds_configs which is
     * much simpler and uniform in structure.
     * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public io.envoyproxy.envoy.service.status.v3.PerXdsConfig.Builder addXdsConfigBuilder() { return getXdsConfigFieldBuilder().addBuilder( io.envoyproxy.envoy.service.status.v3.PerXdsConfig.getDefaultInstance()); } /** *
     * This field is deprecated in favor of generic_xds_configs which is
     * much simpler and uniform in structure.
     * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public io.envoyproxy.envoy.service.status.v3.PerXdsConfig.Builder addXdsConfigBuilder( int index) { return getXdsConfigFieldBuilder().addBuilder( index, io.envoyproxy.envoy.service.status.v3.PerXdsConfig.getDefaultInstance()); } /** *
     * This field is deprecated in favor of generic_xds_configs which is
     * much simpler and uniform in structure.
     * 
* * repeated .envoy.service.status.v3.PerXdsConfig xds_config = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public java.util.List getXdsConfigBuilderList() { return getXdsConfigFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.service.status.v3.PerXdsConfig, io.envoyproxy.envoy.service.status.v3.PerXdsConfig.Builder, io.envoyproxy.envoy.service.status.v3.PerXdsConfigOrBuilder> getXdsConfigFieldBuilder() { if (xdsConfigBuilder_ == null) { xdsConfigBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.service.status.v3.PerXdsConfig, io.envoyproxy.envoy.service.status.v3.PerXdsConfig.Builder, io.envoyproxy.envoy.service.status.v3.PerXdsConfigOrBuilder>( xdsConfig_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); xdsConfig_ = null; } return xdsConfigBuilder_; } private java.util.List genericXdsConfigs_ = java.util.Collections.emptyList(); private void ensureGenericXdsConfigsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { genericXdsConfigs_ = new java.util.ArrayList(genericXdsConfigs_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig, io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.Builder, io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfigOrBuilder> genericXdsConfigsBuilder_; /** *
     * Represents generic xDS config and the exact config structure depends on
     * the type URL (like Cluster if it is CDS)
     * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ public java.util.List getGenericXdsConfigsList() { if (genericXdsConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(genericXdsConfigs_); } else { return genericXdsConfigsBuilder_.getMessageList(); } } /** *
     * Represents generic xDS config and the exact config structure depends on
     * the type URL (like Cluster if it is CDS)
     * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ public int getGenericXdsConfigsCount() { if (genericXdsConfigsBuilder_ == null) { return genericXdsConfigs_.size(); } else { return genericXdsConfigsBuilder_.getCount(); } } /** *
     * Represents generic xDS config and the exact config structure depends on
     * the type URL (like Cluster if it is CDS)
     * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ public io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig getGenericXdsConfigs(int index) { if (genericXdsConfigsBuilder_ == null) { return genericXdsConfigs_.get(index); } else { return genericXdsConfigsBuilder_.getMessage(index); } } /** *
     * Represents generic xDS config and the exact config structure depends on
     * the type URL (like Cluster if it is CDS)
     * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ public Builder setGenericXdsConfigs( int index, io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig value) { if (genericXdsConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGenericXdsConfigsIsMutable(); genericXdsConfigs_.set(index, value); onChanged(); } else { genericXdsConfigsBuilder_.setMessage(index, value); } return this; } /** *
     * Represents generic xDS config and the exact config structure depends on
     * the type URL (like Cluster if it is CDS)
     * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ public Builder setGenericXdsConfigs( int index, io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.Builder builderForValue) { if (genericXdsConfigsBuilder_ == null) { ensureGenericXdsConfigsIsMutable(); genericXdsConfigs_.set(index, builderForValue.build()); onChanged(); } else { genericXdsConfigsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Represents generic xDS config and the exact config structure depends on
     * the type URL (like Cluster if it is CDS)
     * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ public Builder addGenericXdsConfigs(io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig value) { if (genericXdsConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGenericXdsConfigsIsMutable(); genericXdsConfigs_.add(value); onChanged(); } else { genericXdsConfigsBuilder_.addMessage(value); } return this; } /** *
     * Represents generic xDS config and the exact config structure depends on
     * the type URL (like Cluster if it is CDS)
     * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ public Builder addGenericXdsConfigs( int index, io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig value) { if (genericXdsConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGenericXdsConfigsIsMutable(); genericXdsConfigs_.add(index, value); onChanged(); } else { genericXdsConfigsBuilder_.addMessage(index, value); } return this; } /** *
     * Represents generic xDS config and the exact config structure depends on
     * the type URL (like Cluster if it is CDS)
     * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ public Builder addGenericXdsConfigs( io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.Builder builderForValue) { if (genericXdsConfigsBuilder_ == null) { ensureGenericXdsConfigsIsMutable(); genericXdsConfigs_.add(builderForValue.build()); onChanged(); } else { genericXdsConfigsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Represents generic xDS config and the exact config structure depends on
     * the type URL (like Cluster if it is CDS)
     * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ public Builder addGenericXdsConfigs( int index, io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.Builder builderForValue) { if (genericXdsConfigsBuilder_ == null) { ensureGenericXdsConfigsIsMutable(); genericXdsConfigs_.add(index, builderForValue.build()); onChanged(); } else { genericXdsConfigsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Represents generic xDS config and the exact config structure depends on
     * the type URL (like Cluster if it is CDS)
     * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ public Builder addAllGenericXdsConfigs( java.lang.Iterable values) { if (genericXdsConfigsBuilder_ == null) { ensureGenericXdsConfigsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, genericXdsConfigs_); onChanged(); } else { genericXdsConfigsBuilder_.addAllMessages(values); } return this; } /** *
     * Represents generic xDS config and the exact config structure depends on
     * the type URL (like Cluster if it is CDS)
     * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ public Builder clearGenericXdsConfigs() { if (genericXdsConfigsBuilder_ == null) { genericXdsConfigs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { genericXdsConfigsBuilder_.clear(); } return this; } /** *
     * Represents generic xDS config and the exact config structure depends on
     * the type URL (like Cluster if it is CDS)
     * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ public Builder removeGenericXdsConfigs(int index) { if (genericXdsConfigsBuilder_ == null) { ensureGenericXdsConfigsIsMutable(); genericXdsConfigs_.remove(index); onChanged(); } else { genericXdsConfigsBuilder_.remove(index); } return this; } /** *
     * Represents generic xDS config and the exact config structure depends on
     * the type URL (like Cluster if it is CDS)
     * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ public io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.Builder getGenericXdsConfigsBuilder( int index) { return getGenericXdsConfigsFieldBuilder().getBuilder(index); } /** *
     * Represents generic xDS config and the exact config structure depends on
     * the type URL (like Cluster if it is CDS)
     * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ public io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfigOrBuilder getGenericXdsConfigsOrBuilder( int index) { if (genericXdsConfigsBuilder_ == null) { return genericXdsConfigs_.get(index); } else { return genericXdsConfigsBuilder_.getMessageOrBuilder(index); } } /** *
     * Represents generic xDS config and the exact config structure depends on
     * the type URL (like Cluster if it is CDS)
     * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ public java.util.List getGenericXdsConfigsOrBuilderList() { if (genericXdsConfigsBuilder_ != null) { return genericXdsConfigsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(genericXdsConfigs_); } } /** *
     * Represents generic xDS config and the exact config structure depends on
     * the type URL (like Cluster if it is CDS)
     * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ public io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.Builder addGenericXdsConfigsBuilder() { return getGenericXdsConfigsFieldBuilder().addBuilder( io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.getDefaultInstance()); } /** *
     * Represents generic xDS config and the exact config structure depends on
     * the type URL (like Cluster if it is CDS)
     * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ public io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.Builder addGenericXdsConfigsBuilder( int index) { return getGenericXdsConfigsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.getDefaultInstance()); } /** *
     * Represents generic xDS config and the exact config structure depends on
     * the type URL (like Cluster if it is CDS)
     * 
* * repeated .envoy.service.status.v3.ClientConfig.GenericXdsConfig generic_xds_configs = 3; */ public java.util.List getGenericXdsConfigsBuilderList() { return getGenericXdsConfigsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig, io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.Builder, io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfigOrBuilder> getGenericXdsConfigsFieldBuilder() { if (genericXdsConfigsBuilder_ == null) { genericXdsConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig, io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfig.Builder, io.envoyproxy.envoy.service.status.v3.ClientConfig.GenericXdsConfigOrBuilder>( genericXdsConfigs_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); genericXdsConfigs_ = null; } return genericXdsConfigsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.service.status.v3.ClientConfig) } // @@protoc_insertion_point(class_scope:envoy.service.status.v3.ClientConfig) private static final io.envoyproxy.envoy.service.status.v3.ClientConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.service.status.v3.ClientConfig(); } public static io.envoyproxy.envoy.service.status.v3.ClientConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ClientConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ClientConfig(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.service.status.v3.ClientConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy