Class CustomClassEventData.Builder (0.15.0)

public static final class CustomClassEventData.Builder extends GeneratedMessageV3.Builder<CustomClassEventData.Builder> implements CustomClassEventDataOrBuilder

The data within all CustomClass events.

Protobuf type google.events.cloud.speech.v1.CustomClassEventData

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CustomClassEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CustomClassEventData.Builder
Overrides

build()

public CustomClassEventData build()
Returns
Type Description
CustomClassEventData

buildPartial()

public CustomClassEventData buildPartial()
Returns
Type Description
CustomClassEventData

clear()

public CustomClassEventData.Builder clear()
Returns
Type Description
CustomClassEventData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CustomClassEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CustomClassEventData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CustomClassEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CustomClassEventData.Builder
Overrides

clearPayload()

public CustomClassEventData.Builder clearPayload()

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

.google.events.cloud.speech.v1.CustomClass payload = 1;

Returns
Type Description
CustomClassEventData.Builder

clone()

public CustomClassEventData.Builder clone()
Returns
Type Description
CustomClassEventData.Builder
Overrides

getDefaultInstanceForType()

public CustomClassEventData getDefaultInstanceForType()
Returns
Type Description
CustomClassEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPayload()

public CustomClass getPayload()

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

.google.events.cloud.speech.v1.CustomClass payload = 1;

Returns
Type Description
CustomClass

The payload.

getPayloadBuilder()

public CustomClass.Builder getPayloadBuilder()

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

.google.events.cloud.speech.v1.CustomClass payload = 1;

Returns
Type Description
CustomClass.Builder

getPayloadOrBuilder()

public CustomClassOrBuilder getPayloadOrBuilder()

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

.google.events.cloud.speech.v1.CustomClass payload = 1;

Returns
Type Description
CustomClassOrBuilder

hasPayload()

public boolean hasPayload()

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

.google.events.cloud.speech.v1.CustomClass payload = 1;

Returns
Type Description
boolean

Whether the payload field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CustomClassEventData other)

public CustomClassEventData.Builder mergeFrom(CustomClassEventData other)
Parameter
Name Description
other CustomClassEventData
Returns
Type Description
CustomClassEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CustomClassEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomClassEventData.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CustomClassEventData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CustomClassEventData.Builder
Overrides

mergePayload(CustomClass value)

public CustomClassEventData.Builder mergePayload(CustomClass value)

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

.google.events.cloud.speech.v1.CustomClass payload = 1;

Parameter
Name Description
value CustomClass
Returns
Type Description
CustomClassEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CustomClassEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CustomClassEventData.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CustomClassEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CustomClassEventData.Builder
Overrides

setPayload(CustomClass value)

public CustomClassEventData.Builder setPayload(CustomClass value)

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

.google.events.cloud.speech.v1.CustomClass payload = 1;

Parameter
Name Description
value CustomClass
Returns
Type Description
CustomClassEventData.Builder

setPayload(CustomClass.Builder builderForValue)

public CustomClassEventData.Builder setPayload(CustomClass.Builder builderForValue)

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

.google.events.cloud.speech.v1.CustomClass payload = 1;

Parameter
Name Description
builderForValue CustomClass.Builder
Returns
Type Description
CustomClassEventData.Builder

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

public CustomClassEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CustomClassEventData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CustomClassEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CustomClassEventData.Builder
Overrides