Class ListDeviceRegistriesResponse.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<ListDeviceRegistriesResponse.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<ListDeviceRegistriesResponse.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public ListDeviceRegistriesResponse.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<ListDeviceRegistriesResponse.Builder>
        Throws:
        IOException
      • clearDeviceRegistries

        public ListDeviceRegistriesResponse.Builder clearDeviceRegistries()
         The registries that matched the query.
         
        repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;
      • removeDeviceRegistries

        public ListDeviceRegistriesResponse.Builder removeDeviceRegistries​(int index)
         The registries that matched the query.
         
        repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;
      • getDeviceRegistriesBuilder

        public DeviceRegistry.Builder getDeviceRegistriesBuilder​(int index)
         The registries that matched the query.
         
        repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;
      • addDeviceRegistriesBuilder

        public DeviceRegistry.Builder addDeviceRegistriesBuilder()
         The registries that matched the query.
         
        repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;
      • addDeviceRegistriesBuilder

        public DeviceRegistry.Builder addDeviceRegistriesBuilder​(int index)
         The registries that matched the query.
         
        repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;
      • getDeviceRegistriesBuilderList

        public List<DeviceRegistry.Builder> getDeviceRegistriesBuilderList()
         The registries that matched the query.
         
        repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;
      • getNextPageToken

        public String getNextPageToken()
         If not empty, indicates that there may be more registries that match the
         request; this value should be passed in a new
         `ListDeviceRegistriesRequest`.
         
        string next_page_token = 2;
        Specified by:
        getNextPageToken in interface ListDeviceRegistriesResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         If not empty, indicates that there may be more registries that match the
         request; this value should be passed in a new
         `ListDeviceRegistriesRequest`.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface ListDeviceRegistriesResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListDeviceRegistriesResponse.Builder setNextPageToken​(String value)
         If not empty, indicates that there may be more registries that match the
         request; this value should be passed in a new
         `ListDeviceRegistriesRequest`.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListDeviceRegistriesResponse.Builder clearNextPageToken()
         If not empty, indicates that there may be more registries that match the
         request; this value should be passed in a new
         `ListDeviceRegistriesRequest`.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListDeviceRegistriesResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         If not empty, indicates that there may be more registries that match the
         request; this value should be passed in a new
         `ListDeviceRegistriesRequest`.
         
        string next_page_token = 2;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.