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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CustomClassEventData.BuilderImplements
CustomClassEventDataOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public CustomClassEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CustomClassEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomClassEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CustomClassEventData.Builder |
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 |
getDefaultInstanceForType()
public CustomClassEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CustomClassEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CustomClassEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CustomClassEventData.Builder |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomClassEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CustomClassEventData.Builder |