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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RegistryEventData.BuilderImplements
RegistryEventDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RegistryEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
RegistryEventData.Builder |
build()
public RegistryEventData build()
Returns | |
---|---|
Type | Description |
RegistryEventData |
buildPartial()
public RegistryEventData buildPartial()
Returns | |
---|---|
Type | Description |
RegistryEventData |
clear()
public RegistryEventData.Builder clear()
Returns | |
---|---|
Type | Description |
RegistryEventData.Builder |
clearField(Descriptors.FieldDescriptor field)
public RegistryEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
RegistryEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RegistryEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
RegistryEventData.Builder |
clearPayload()
public RegistryEventData.Builder clearPayload()
Optional. The Registry event payload. Unset for deletion events.
optional .google.events.cloud.iot.v1.DeviceRegistry payload = 1;
Returns | |
---|---|
Type | Description |
RegistryEventData.Builder |
clone()
public RegistryEventData.Builder clone()
Returns | |
---|---|
Type | Description |
RegistryEventData.Builder |
getDefaultInstanceForType()
public RegistryEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RegistryEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPayload()
public DeviceRegistry getPayload()
Optional. The Registry event payload. Unset for deletion events.
optional .google.events.cloud.iot.v1.DeviceRegistry payload = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
DeviceRegistryOrBuilder |
hasPayload()
public boolean hasPayload()
Optional. The Registry event payload. Unset for deletion events.
optional .google.events.cloud.iot.v1.DeviceRegistry payload = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the payload field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(RegistryEventData other)
public RegistryEventData.Builder mergeFrom(RegistryEventData other)
Parameter | |
---|---|
Name | Description |
other | RegistryEventData |
Returns | |
---|---|
Type | Description |
RegistryEventData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RegistryEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RegistryEventData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RegistryEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
RegistryEventData.Builder |
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 | |
---|---|
Name | Description |
value | DeviceRegistry |
Returns | |
---|---|
Type | Description |
RegistryEventData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RegistryEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RegistryEventData.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RegistryEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
RegistryEventData.Builder |
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 | |
---|---|
Name | Description |
value | DeviceRegistry |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | DeviceRegistry.Builder |
Returns | |
---|---|
Type | Description |
RegistryEventData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RegistryEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
RegistryEventData.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RegistryEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RegistryEventData.Builder |