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
      • setSystemVersionInfo

        public DeltaDiscoveryResponse.Builder setSystemVersionInfo​(String value)
         The version of the response data (used for debugging).
         
        string system_version_info = 1;
      • clearSystemVersionInfo

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

        public DeltaDiscoveryResponse.Builder setSystemVersionInfoBytes​(com.google.protobuf.ByteString value)
         The version of the response data (used for debugging).
         
        string system_version_info = 1;
      • 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
      • 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
      • 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;
      • 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;
      • 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;
      • 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
      • 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
      • 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
      • 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
      • 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;
      • 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;
      • 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;
      • 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;
      • 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;
      • 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
      • 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
      • 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;
      • 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;
      • 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;
      • 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>