Class DeltaDiscoveryResponse.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryResponse.Builder>
      • clear

        public DeltaDiscoveryResponse.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public DeltaDiscoveryResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryResponse.Builder>
      • clearField

        public DeltaDiscoveryResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryResponse.Builder>
      • clearOneof

        public DeltaDiscoveryResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryResponse.Builder>
      • setRepeatedField

        public DeltaDiscoveryResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryResponse.Builder>
      • addRepeatedField

        public DeltaDiscoveryResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryResponse.Builder>
      • mergeFrom

        public DeltaDiscoveryResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeltaDiscoveryResponse.Builder>
        Throws:
        IOException
      • getSystemVersionInfoBytes

        public com.google.protobuf.ByteString getSystemVersionInfoBytes()
         The version of the response data (used for debugging).
         
        string system_version_info = 1;
        Specified by:
        getSystemVersionInfoBytes in interface DeltaDiscoveryResponseOrBuilder
        Returns:
        The bytes for systemVersionInfo.
      • setSystemVersionInfo

        public DeltaDiscoveryResponse.Builder setSystemVersionInfo​(String value)
         The version of the response data (used for debugging).
         
        string system_version_info = 1;
        Parameters:
        value - The systemVersionInfo to set.
        Returns:
        This builder for chaining.
      • clearSystemVersionInfo

        public DeltaDiscoveryResponse.Builder clearSystemVersionInfo()
         The version of the response data (used for debugging).
         
        string system_version_info = 1;
        Returns:
        This builder for chaining.
      • setSystemVersionInfoBytes

        public DeltaDiscoveryResponse.Builder setSystemVersionInfoBytes​(com.google.protobuf.ByteString value)
         The version of the response data (used for debugging).
         
        string system_version_info = 1;
        Parameters:
        value - The bytes for systemVersionInfo to set.
        Returns:
        This builder for chaining.
      • getResourcesCount

        public int getResourcesCount()
         The response resources. These are typed resources, whose types must match
         the type_url field.
         
        repeated .envoy.api.v2.Resource resources = 2;
        Specified by:
        getResourcesCount in interface DeltaDiscoveryResponseOrBuilder
      • getResources

        public Resource getResources​(int index)
         The response resources. These are typed resources, whose types must match
         the type_url field.
         
        repeated .envoy.api.v2.Resource resources = 2;
        Specified by:
        getResources in interface DeltaDiscoveryResponseOrBuilder
      • setResources

        public DeltaDiscoveryResponse.Builder setResources​(int index,
                                                           Resource value)
         The response resources. These are typed resources, whose types must match
         the type_url field.
         
        repeated .envoy.api.v2.Resource resources = 2;
      • setResources

        public DeltaDiscoveryResponse.Builder setResources​(int index,
                                                           Resource.Builder builderForValue)
         The response resources. These are typed resources, whose types must match
         the type_url field.
         
        repeated .envoy.api.v2.Resource resources = 2;
      • addResources

        public DeltaDiscoveryResponse.Builder addResources​(Resource value)
         The response resources. These are typed resources, whose types must match
         the type_url field.
         
        repeated .envoy.api.v2.Resource resources = 2;
      • addResources

        public DeltaDiscoveryResponse.Builder addResources​(int index,
                                                           Resource value)
         The response resources. These are typed resources, whose types must match
         the type_url field.
         
        repeated .envoy.api.v2.Resource resources = 2;
      • addResources

        public DeltaDiscoveryResponse.Builder addResources​(Resource.Builder builderForValue)
         The response resources. These are typed resources, whose types must match
         the type_url field.
         
        repeated .envoy.api.v2.Resource resources = 2;
      • addResources

        public DeltaDiscoveryResponse.Builder addResources​(int index,
                                                           Resource.Builder builderForValue)
         The response resources. These are typed resources, whose types must match
         the type_url field.
         
        repeated .envoy.api.v2.Resource resources = 2;
      • addAllResources

        public DeltaDiscoveryResponse.Builder addAllResources​(Iterable<? extends Resource> values)
         The response resources. These are typed resources, whose types must match
         the type_url field.
         
        repeated .envoy.api.v2.Resource resources = 2;
      • clearResources

        public DeltaDiscoveryResponse.Builder clearResources()
         The response resources. These are typed resources, whose types must match
         the type_url field.
         
        repeated .envoy.api.v2.Resource resources = 2;
      • removeResources

        public DeltaDiscoveryResponse.Builder removeResources​(int index)
         The response resources. These are typed resources, whose types must match
         the type_url field.
         
        repeated .envoy.api.v2.Resource resources = 2;
      • getResourcesBuilder

        public Resource.Builder getResourcesBuilder​(int index)
         The response resources. These are typed resources, whose types must match
         the type_url field.
         
        repeated .envoy.api.v2.Resource resources = 2;
      • addResourcesBuilder

        public Resource.Builder addResourcesBuilder()
         The response resources. These are typed resources, whose types must match
         the type_url field.
         
        repeated .envoy.api.v2.Resource resources = 2;
      • addResourcesBuilder

        public Resource.Builder addResourcesBuilder​(int index)
         The response resources. These are typed resources, whose types must match
         the type_url field.
         
        repeated .envoy.api.v2.Resource resources = 2;
      • getResourcesBuilderList

        public List<Resource.Builder> getResourcesBuilderList()
         The response resources. These are typed resources, whose types must match
         the type_url field.
         
        repeated .envoy.api.v2.Resource resources = 2;
      • getTypeUrl

        public String getTypeUrl()
         Type URL for resources. Identifies the xDS API when muxing over ADS.
         Must be consistent with the type_url in the Any within 'resources' if 'resources' is non-empty.
         
        string type_url = 4;
        Specified by:
        getTypeUrl in interface DeltaDiscoveryResponseOrBuilder
        Returns:
        The typeUrl.
      • getTypeUrlBytes

        public com.google.protobuf.ByteString getTypeUrlBytes()
         Type URL for resources. Identifies the xDS API when muxing over ADS.
         Must be consistent with the type_url in the Any within 'resources' if 'resources' is non-empty.
         
        string type_url = 4;
        Specified by:
        getTypeUrlBytes in interface DeltaDiscoveryResponseOrBuilder
        Returns:
        The bytes for typeUrl.
      • setTypeUrl

        public DeltaDiscoveryResponse.Builder setTypeUrl​(String value)
         Type URL for resources. Identifies the xDS API when muxing over ADS.
         Must be consistent with the type_url in the Any within 'resources' if 'resources' is non-empty.
         
        string type_url = 4;
        Parameters:
        value - The typeUrl to set.
        Returns:
        This builder for chaining.
      • clearTypeUrl

        public DeltaDiscoveryResponse.Builder clearTypeUrl()
         Type URL for resources. Identifies the xDS API when muxing over ADS.
         Must be consistent with the type_url in the Any within 'resources' if 'resources' is non-empty.
         
        string type_url = 4;
        Returns:
        This builder for chaining.
      • setTypeUrlBytes

        public DeltaDiscoveryResponse.Builder setTypeUrlBytes​(com.google.protobuf.ByteString value)
         Type URL for resources. Identifies the xDS API when muxing over ADS.
         Must be consistent with the type_url in the Any within 'resources' if 'resources' is non-empty.
         
        string type_url = 4;
        Parameters:
        value - The bytes for typeUrl to set.
        Returns:
        This builder for chaining.
      • getRemovedResourcesList

        public com.google.protobuf.ProtocolStringList getRemovedResourcesList()
         Resources names of resources that have be deleted and to be removed from the xDS Client.
         Removed resources for missing resources can be ignored.
         
        repeated string removed_resources = 6;
        Specified by:
        getRemovedResourcesList in interface DeltaDiscoveryResponseOrBuilder
        Returns:
        A list containing the removedResources.
      • getRemovedResourcesCount

        public int getRemovedResourcesCount()
         Resources names of resources that have be deleted and to be removed from the xDS Client.
         Removed resources for missing resources can be ignored.
         
        repeated string removed_resources = 6;
        Specified by:
        getRemovedResourcesCount in interface DeltaDiscoveryResponseOrBuilder
        Returns:
        The count of removedResources.
      • getRemovedResources

        public String getRemovedResources​(int index)
         Resources names of resources that have be deleted and to be removed from the xDS Client.
         Removed resources for missing resources can be ignored.
         
        repeated string removed_resources = 6;
        Specified by:
        getRemovedResources in interface DeltaDiscoveryResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The removedResources at the given index.
      • getRemovedResourcesBytes

        public com.google.protobuf.ByteString getRemovedResourcesBytes​(int index)
         Resources names of resources that have be deleted and to be removed from the xDS Client.
         Removed resources for missing resources can be ignored.
         
        repeated string removed_resources = 6;
        Specified by:
        getRemovedResourcesBytes in interface DeltaDiscoveryResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the removedResources at the given index.
      • setRemovedResources

        public DeltaDiscoveryResponse.Builder setRemovedResources​(int index,
                                                                  String value)
         Resources names of resources that have be deleted and to be removed from the xDS Client.
         Removed resources for missing resources can be ignored.
         
        repeated string removed_resources = 6;
        Parameters:
        index - The index to set the value at.
        value - The removedResources to set.
        Returns:
        This builder for chaining.
      • addRemovedResources

        public DeltaDiscoveryResponse.Builder addRemovedResources​(String value)
         Resources names of resources that have be deleted and to be removed from the xDS Client.
         Removed resources for missing resources can be ignored.
         
        repeated string removed_resources = 6;
        Parameters:
        value - The removedResources to add.
        Returns:
        This builder for chaining.
      • addAllRemovedResources

        public DeltaDiscoveryResponse.Builder addAllRemovedResources​(Iterable<String> values)
         Resources names of resources that have be deleted and to be removed from the xDS Client.
         Removed resources for missing resources can be ignored.
         
        repeated string removed_resources = 6;
        Parameters:
        values - The removedResources to add.
        Returns:
        This builder for chaining.
      • clearRemovedResources

        public DeltaDiscoveryResponse.Builder clearRemovedResources()
         Resources names of resources that have be deleted and to be removed from the xDS Client.
         Removed resources for missing resources can be ignored.
         
        repeated string removed_resources = 6;
        Returns:
        This builder for chaining.
      • addRemovedResourcesBytes

        public DeltaDiscoveryResponse.Builder addRemovedResourcesBytes​(com.google.protobuf.ByteString value)
         Resources names of resources that have be deleted and to be removed from the xDS Client.
         Removed resources for missing resources can be ignored.
         
        repeated string removed_resources = 6;
        Parameters:
        value - The bytes of the removedResources to add.
        Returns:
        This builder for chaining.
      • getNonce

        public String getNonce()
         The nonce provides a way for DeltaDiscoveryRequests to uniquely
         reference a DeltaDiscoveryResponse when (N)ACKing. The nonce is required.
         
        string nonce = 5;
        Specified by:
        getNonce in interface DeltaDiscoveryResponseOrBuilder
        Returns:
        The nonce.
      • getNonceBytes

        public com.google.protobuf.ByteString getNonceBytes()
         The nonce provides a way for DeltaDiscoveryRequests to uniquely
         reference a DeltaDiscoveryResponse when (N)ACKing. The nonce is required.
         
        string nonce = 5;
        Specified by:
        getNonceBytes in interface DeltaDiscoveryResponseOrBuilder
        Returns:
        The bytes for nonce.
      • setNonce

        public DeltaDiscoveryResponse.Builder setNonce​(String value)
         The nonce provides a way for DeltaDiscoveryRequests to uniquely
         reference a DeltaDiscoveryResponse when (N)ACKing. The nonce is required.
         
        string nonce = 5;
        Parameters:
        value - The nonce to set.
        Returns:
        This builder for chaining.
      • clearNonce

        public DeltaDiscoveryResponse.Builder clearNonce()
         The nonce provides a way for DeltaDiscoveryRequests to uniquely
         reference a DeltaDiscoveryResponse when (N)ACKing. The nonce is required.
         
        string nonce = 5;
        Returns:
        This builder for chaining.
      • setNonceBytes

        public DeltaDiscoveryResponse.Builder setNonceBytes​(com.google.protobuf.ByteString value)
         The nonce provides a way for DeltaDiscoveryRequests to uniquely
         reference a DeltaDiscoveryResponse when (N)ACKing. The nonce is required.
         
        string nonce = 5;
        Parameters:
        value - The bytes for nonce to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final DeltaDiscoveryResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryResponse.Builder>
      • mergeUnknownFields

        public final DeltaDiscoveryResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeltaDiscoveryResponse.Builder>