Class SendCommandToDeviceResponse.Builder (2.17.0)

public static final class SendCommandToDeviceResponse.Builder extends GeneratedMessageV3.Builder<SendCommandToDeviceResponse.Builder> implements SendCommandToDeviceResponseOrBuilder

Response for SendCommandToDevice.

Protobuf type google.cloud.iot.v1.SendCommandToDeviceResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SendCommandToDeviceResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SendCommandToDeviceResponse.Builder
Overrides

build()

public SendCommandToDeviceResponse build()
Returns
TypeDescription
SendCommandToDeviceResponse

buildPartial()

public SendCommandToDeviceResponse buildPartial()
Returns
TypeDescription
SendCommandToDeviceResponse

clear()

public SendCommandToDeviceResponse.Builder clear()
Returns
TypeDescription
SendCommandToDeviceResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SendCommandToDeviceResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SendCommandToDeviceResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SendCommandToDeviceResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SendCommandToDeviceResponse.Builder
Overrides

clone()

public SendCommandToDeviceResponse.Builder clone()
Returns
TypeDescription
SendCommandToDeviceResponse.Builder
Overrides

getDefaultInstanceForType()

public SendCommandToDeviceResponse getDefaultInstanceForType()
Returns
TypeDescription
SendCommandToDeviceResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SendCommandToDeviceResponse other)

public SendCommandToDeviceResponse.Builder mergeFrom(SendCommandToDeviceResponse other)
Parameter
NameDescription
otherSendCommandToDeviceResponse
Returns
TypeDescription
SendCommandToDeviceResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SendCommandToDeviceResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SendCommandToDeviceResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SendCommandToDeviceResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SendCommandToDeviceResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SendCommandToDeviceResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SendCommandToDeviceResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SendCommandToDeviceResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SendCommandToDeviceResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SendCommandToDeviceResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SendCommandToDeviceResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SendCommandToDeviceResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SendCommandToDeviceResponse.Builder
Overrides