Class RegistryEventData.Builder (0.14.1)

public static final class RegistryEventData.Builder extends GeneratedMessageV3.Builder<RegistryEventData.Builder> implements RegistryEventDataOrBuilder

The data within all Cloud IoT Registry events.

Protobuf type google.events.cloud.iot.v1.RegistryEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RegistryEventData build()
Returns
TypeDescription
RegistryEventData

buildPartial()

public RegistryEventData buildPartial()
Returns
TypeDescription
RegistryEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public RegistryEventData.Builder clearPayload()

Optional. The Registry event payload. Unset for deletion events.

optional .google.events.cloud.iot.v1.DeviceRegistry payload = 1;

Returns
TypeDescription
RegistryEventData.Builder

clone()

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

getDefaultInstanceForType()

public RegistryEventData getDefaultInstanceForType()
Returns
TypeDescription
RegistryEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public DeviceRegistry getPayload()

Optional. The Registry event payload. Unset for deletion events.

optional .google.events.cloud.iot.v1.DeviceRegistry payload = 1;

Returns
TypeDescription
DeviceRegistry

The payload.

getPayloadBuilder()

public DeviceRegistry.Builder getPayloadBuilder()

Optional. The Registry event payload. Unset for deletion events.

optional .google.events.cloud.iot.v1.DeviceRegistry payload = 1;

Returns
TypeDescription
DeviceRegistry.Builder

getPayloadOrBuilder()

public DeviceRegistryOrBuilder getPayloadOrBuilder()

Optional. The Registry event payload. Unset for deletion events.

optional .google.events.cloud.iot.v1.DeviceRegistry payload = 1;

Returns
TypeDescription
DeviceRegistryOrBuilder

hasPayload()

public boolean hasPayload()

Optional. The Registry event payload. Unset for deletion events.

optional .google.events.cloud.iot.v1.DeviceRegistry payload = 1;

Returns
TypeDescription
boolean

Whether the payload field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RegistryEventData other)

public RegistryEventData.Builder mergeFrom(RegistryEventData other)
Parameter
NameDescription
otherRegistryEventData
Returns
TypeDescription
RegistryEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(DeviceRegistry value)

public RegistryEventData.Builder mergePayload(DeviceRegistry value)

Optional. The Registry event payload. Unset for deletion events.

optional .google.events.cloud.iot.v1.DeviceRegistry payload = 1;

Parameter
NameDescription
valueDeviceRegistry
Returns
TypeDescription
RegistryEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(DeviceRegistry value)

public RegistryEventData.Builder setPayload(DeviceRegistry value)

Optional. The Registry event payload. Unset for deletion events.

optional .google.events.cloud.iot.v1.DeviceRegistry payload = 1;

Parameter
NameDescription
valueDeviceRegistry
Returns
TypeDescription
RegistryEventData.Builder

setPayload(DeviceRegistry.Builder builderForValue)

public RegistryEventData.Builder setPayload(DeviceRegistry.Builder builderForValue)

Optional. The Registry event payload. Unset for deletion events.

optional .google.events.cloud.iot.v1.DeviceRegistry payload = 1;

Parameter
NameDescription
builderForValueDeviceRegistry.Builder
Returns
TypeDescription
RegistryEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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