Class TranscriptEntry.Builder (0.11.0)

public static final class TranscriptEntry.Builder extends GeneratedMessageV3.Builder<TranscriptEntry.Builder> implements TranscriptEntryOrBuilder

Developer Preview. Single entry for one user’s speech during a transcript session.

Protobuf type google.apps.meet.v2beta.TranscriptEntry

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TranscriptEntry build()
Returns
Type Description
TranscriptEntry

buildPartial()

public TranscriptEntry buildPartial()
Returns
Type Description
TranscriptEntry

clear()

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

clearEndTime()

public TranscriptEntry.Builder clearEndTime()

Output only. Timestamp when the transcript entry ended.

.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TranscriptEntry.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearLanguageCode()

public TranscriptEntry.Builder clearLanguageCode()

Output only. Language of spoken text, such as "en-US". IETF BCP 47 syntax (https://tools.ietf.org/html/bcp47)

string language_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TranscriptEntry.Builder

This builder for chaining.

clearName()

public TranscriptEntry.Builder clearName()

Output only. Resource name of the entry. Format: "conferenceRecords/{conference_record}/transcripts/{transcript}/entries/{entry}"

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TranscriptEntry.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParticipant()

public TranscriptEntry.Builder clearParticipant()

Output only. Refer to the participant who speaks.

string participant = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
TranscriptEntry.Builder

This builder for chaining.

clearStartTime()

public TranscriptEntry.Builder clearStartTime()

Output only. Timestamp when the transcript entry started.

.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TranscriptEntry.Builder

clearText()

public TranscriptEntry.Builder clearText()

Output only. The transcribed text of the participant's voice, at maximum 10K words. Note that the limit is subject to change.

string text = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TranscriptEntry.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TranscriptEntry getDefaultInstanceForType()
Returns
Type Description
TranscriptEntry

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

Output only. Timestamp when the transcript entry ended.

.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. Timestamp when the transcript entry ended.

.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. Timestamp when the transcript entry ended.

.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getLanguageCode()

public String getLanguageCode()

Output only. Language of spoken text, such as "en-US". IETF BCP 47 syntax (https://tools.ietf.org/html/bcp47)

string language_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public ByteString getLanguageCodeBytes()

Output only. Language of spoken text, such as "en-US". IETF BCP 47 syntax (https://tools.ietf.org/html/bcp47)

string language_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for languageCode.

getName()

public String getName()

Output only. Resource name of the entry. Format: "conferenceRecords/{conference_record}/transcripts/{transcript}/entries/{entry}"

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Resource name of the entry. Format: "conferenceRecords/{conference_record}/transcripts/{transcript}/entries/{entry}"

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getParticipant()

public String getParticipant()

Output only. Refer to the participant who speaks.

string participant = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The participant.

getParticipantBytes()

public ByteString getParticipantBytes()

Output only. Refer to the participant who speaks.

string participant = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for participant.

getStartTime()

public Timestamp getStartTime()

Output only. Timestamp when the transcript entry started.

.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. Timestamp when the transcript entry started.

.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. Timestamp when the transcript entry started.

.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getText()

public String getText()

Output only. The transcribed text of the participant's voice, at maximum 10K words. Note that the limit is subject to change.

string text = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The text.

getTextBytes()

public ByteString getTextBytes()

Output only. The transcribed text of the participant's voice, at maximum 10K words. Note that the limit is subject to change.

string text = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for text.

hasEndTime()

public boolean hasEndTime()

Output only. Timestamp when the transcript entry ended.

.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

Output only. Timestamp when the transcript entry started.

.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public TranscriptEntry.Builder mergeEndTime(Timestamp value)

Output only. Timestamp when the transcript entry ended.

.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
TranscriptEntry.Builder

mergeFrom(TranscriptEntry other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public TranscriptEntry.Builder mergeStartTime(Timestamp value)

Output only. Timestamp when the transcript entry started.

.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
TranscriptEntry.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEndTime(Timestamp value)

public TranscriptEntry.Builder setEndTime(Timestamp value)

Output only. Timestamp when the transcript entry ended.

.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
TranscriptEntry.Builder

setEndTime(Timestamp.Builder builderForValue)

public TranscriptEntry.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. Timestamp when the transcript entry ended.

.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
TranscriptEntry.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setLanguageCode(String value)

public TranscriptEntry.Builder setLanguageCode(String value)

Output only. Language of spoken text, such as "en-US". IETF BCP 47 syntax (https://tools.ietf.org/html/bcp47)

string language_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The languageCode to set.

Returns
Type Description
TranscriptEntry.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public TranscriptEntry.Builder setLanguageCodeBytes(ByteString value)

Output only. Language of spoken text, such as "en-US". IETF BCP 47 syntax (https://tools.ietf.org/html/bcp47)

string language_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for languageCode to set.

Returns
Type Description
TranscriptEntry.Builder

This builder for chaining.

setName(String value)

public TranscriptEntry.Builder setName(String value)

Output only. Resource name of the entry. Format: "conferenceRecords/{conference_record}/transcripts/{transcript}/entries/{entry}"

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
TranscriptEntry.Builder

This builder for chaining.

setNameBytes(ByteString value)

public TranscriptEntry.Builder setNameBytes(ByteString value)

Output only. Resource name of the entry. Format: "conferenceRecords/{conference_record}/transcripts/{transcript}/entries/{entry}"

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
TranscriptEntry.Builder

This builder for chaining.

setParticipant(String value)

public TranscriptEntry.Builder setParticipant(String value)

Output only. Refer to the participant who speaks.

string participant = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The participant to set.

Returns
Type Description
TranscriptEntry.Builder

This builder for chaining.

setParticipantBytes(ByteString value)

public TranscriptEntry.Builder setParticipantBytes(ByteString value)

Output only. Refer to the participant who speaks.

string participant = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for participant to set.

Returns
Type Description
TranscriptEntry.Builder

This builder for chaining.

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

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

setStartTime(Timestamp value)

public TranscriptEntry.Builder setStartTime(Timestamp value)

Output only. Timestamp when the transcript entry started.

.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
TranscriptEntry.Builder

setStartTime(Timestamp.Builder builderForValue)

public TranscriptEntry.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. Timestamp when the transcript entry started.

.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
TranscriptEntry.Builder

setText(String value)

public TranscriptEntry.Builder setText(String value)

Output only. The transcribed text of the participant's voice, at maximum 10K words. Note that the limit is subject to change.

string text = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The text to set.

Returns
Type Description
TranscriptEntry.Builder

This builder for chaining.

setTextBytes(ByteString value)

public TranscriptEntry.Builder setTextBytes(ByteString value)

Output only. The transcribed text of the participant's voice, at maximum 10K words. Note that the limit is subject to change.

string text = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for text to set.

Returns
Type Description
TranscriptEntry.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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