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

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

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

        public ListDeviceConfigVersionsResponse 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<ListDeviceConfigVersionsResponse.Builder>
      • getDeviceConfigsCount

        public int getDeviceConfigsCount()
         The device configuration for the last few versions. Versions are listed
         in decreasing order, starting from the most recent one.
         
        repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
        Specified by:
        getDeviceConfigsCount in interface ListDeviceConfigVersionsResponseOrBuilder
      • getDeviceConfigs

        public DeviceConfig getDeviceConfigs​(int index)
         The device configuration for the last few versions. Versions are listed
         in decreasing order, starting from the most recent one.
         
        repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
        Specified by:
        getDeviceConfigs in interface ListDeviceConfigVersionsResponseOrBuilder
      • setDeviceConfigs

        public ListDeviceConfigVersionsResponse.Builder setDeviceConfigs​(int index,
                                                                         DeviceConfig value)
         The device configuration for the last few versions. Versions are listed
         in decreasing order, starting from the most recent one.
         
        repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
      • setDeviceConfigs

        public ListDeviceConfigVersionsResponse.Builder setDeviceConfigs​(int index,
                                                                         DeviceConfig.Builder builderForValue)
         The device configuration for the last few versions. Versions are listed
         in decreasing order, starting from the most recent one.
         
        repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
      • addDeviceConfigs

        public ListDeviceConfigVersionsResponse.Builder addDeviceConfigs​(DeviceConfig value)
         The device configuration for the last few versions. Versions are listed
         in decreasing order, starting from the most recent one.
         
        repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
      • addDeviceConfigs

        public ListDeviceConfigVersionsResponse.Builder addDeviceConfigs​(int index,
                                                                         DeviceConfig value)
         The device configuration for the last few versions. Versions are listed
         in decreasing order, starting from the most recent one.
         
        repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
      • addDeviceConfigs

        public ListDeviceConfigVersionsResponse.Builder addDeviceConfigs​(DeviceConfig.Builder builderForValue)
         The device configuration for the last few versions. Versions are listed
         in decreasing order, starting from the most recent one.
         
        repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
      • addDeviceConfigs

        public ListDeviceConfigVersionsResponse.Builder addDeviceConfigs​(int index,
                                                                         DeviceConfig.Builder builderForValue)
         The device configuration for the last few versions. Versions are listed
         in decreasing order, starting from the most recent one.
         
        repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
      • addAllDeviceConfigs

        public ListDeviceConfigVersionsResponse.Builder addAllDeviceConfigs​(Iterable<? extends DeviceConfig> values)
         The device configuration for the last few versions. Versions are listed
         in decreasing order, starting from the most recent one.
         
        repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
      • clearDeviceConfigs

        public ListDeviceConfigVersionsResponse.Builder clearDeviceConfigs()
         The device configuration for the last few versions. Versions are listed
         in decreasing order, starting from the most recent one.
         
        repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
      • removeDeviceConfigs

        public ListDeviceConfigVersionsResponse.Builder removeDeviceConfigs​(int index)
         The device configuration for the last few versions. Versions are listed
         in decreasing order, starting from the most recent one.
         
        repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
      • getDeviceConfigsBuilder

        public DeviceConfig.Builder getDeviceConfigsBuilder​(int index)
         The device configuration for the last few versions. Versions are listed
         in decreasing order, starting from the most recent one.
         
        repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
      • addDeviceConfigsBuilder

        public DeviceConfig.Builder addDeviceConfigsBuilder()
         The device configuration for the last few versions. Versions are listed
         in decreasing order, starting from the most recent one.
         
        repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
      • addDeviceConfigsBuilder

        public DeviceConfig.Builder addDeviceConfigsBuilder​(int index)
         The device configuration for the last few versions. Versions are listed
         in decreasing order, starting from the most recent one.
         
        repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
      • getDeviceConfigsBuilderList

        public List<DeviceConfig.Builder> getDeviceConfigsBuilderList()
         The device configuration for the last few versions. Versions are listed
         in decreasing order, starting from the most recent one.
         
        repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;