Class TranscriptEntry.Builder (0.3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TranscriptEntry build()
Returns
TypeDescription
TranscriptEntry

buildPartial()

public TranscriptEntry buildPartial()
Returns
TypeDescription
TranscriptEntry

clear()

public TranscriptEntry.Builder clear()
Returns
TypeDescription
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
TypeDescription
TranscriptEntry.Builder

clearField(Descriptors.FieldDescriptor field)

public TranscriptEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TranscriptEntry.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TranscriptEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TranscriptEntry.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TranscriptEntry getDefaultInstanceForType()
Returns
TypeDescription
TranscriptEntry

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
TranscriptEntry.Builder

mergeFrom(TranscriptEntry other)

public TranscriptEntry.Builder mergeFrom(TranscriptEntry other)
Parameter
NameDescription
otherTranscriptEntry
Returns
TypeDescription
TranscriptEntry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TranscriptEntry.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
TranscriptEntry.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TranscriptEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
TranscriptEntry.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TranscriptEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The languageCode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for languageCode to set.

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueString

The participant to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for participant to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The text to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for text to set.

Returns
TypeDescription
TranscriptEntry.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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