Class Conversation.TelephonyConnectionInfo.MimeContent.Builder (4.89.0)

public static final class Conversation.TelephonyConnectionInfo.MimeContent.Builder extends GeneratedMessage.Builder<Conversation.TelephonyConnectionInfo.MimeContent.Builder> implements Conversation.TelephonyConnectionInfo.MimeContentOrBuilder

The mime content from the initial SIP INVITE.

Protobuf type google.cloud.dialogflow.v2beta1.Conversation.TelephonyConnectionInfo.MimeContent

Static Methods

getDescriptor()

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

Methods

build()

public Conversation.TelephonyConnectionInfo.MimeContent build()
Returns
Type Description
Conversation.TelephonyConnectionInfo.MimeContent

buildPartial()

public Conversation.TelephonyConnectionInfo.MimeContent buildPartial()
Returns
Type Description
Conversation.TelephonyConnectionInfo.MimeContent

clear()

public Conversation.TelephonyConnectionInfo.MimeContent.Builder clear()
Returns
Type Description
Conversation.TelephonyConnectionInfo.MimeContent.Builder
Overrides

clearContent()

public Conversation.TelephonyConnectionInfo.MimeContent.Builder clearContent()

Optional. The content payload.

bytes content = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Conversation.TelephonyConnectionInfo.MimeContent.Builder

This builder for chaining.

clearMimeType()

public Conversation.TelephonyConnectionInfo.MimeContent.Builder clearMimeType()

Optional. The mime type of the content.

string mime_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Conversation.TelephonyConnectionInfo.MimeContent.Builder

This builder for chaining.

getContent()

public ByteString getContent()

Optional. The content payload.

bytes content = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The content.

getDefaultInstanceForType()

public Conversation.TelephonyConnectionInfo.MimeContent getDefaultInstanceForType()
Returns
Type Description
Conversation.TelephonyConnectionInfo.MimeContent

getDescriptorForType()

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

getMimeType()

public String getMimeType()

Optional. The mime type of the content.

string mime_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The mimeType.

getMimeTypeBytes()

public ByteString getMimeTypeBytes()

Optional. The mime type of the content.

string mime_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for mimeType.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Conversation.TelephonyConnectionInfo.MimeContent other)

public Conversation.TelephonyConnectionInfo.MimeContent.Builder mergeFrom(Conversation.TelephonyConnectionInfo.MimeContent other)
Parameter
Name Description
other Conversation.TelephonyConnectionInfo.MimeContent
Returns
Type Description
Conversation.TelephonyConnectionInfo.MimeContent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Conversation.TelephonyConnectionInfo.MimeContent.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Conversation.TelephonyConnectionInfo.MimeContent.Builder
Overrides

setContent(ByteString value)

public Conversation.TelephonyConnectionInfo.MimeContent.Builder setContent(ByteString value)

Optional. The content payload.

bytes content = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The content to set.

Returns
Type Description
Conversation.TelephonyConnectionInfo.MimeContent.Builder

This builder for chaining.

setMimeType(String value)

public Conversation.TelephonyConnectionInfo.MimeContent.Builder setMimeType(String value)

Optional. The mime type of the content.

string mime_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The mimeType to set.

Returns
Type Description
Conversation.TelephonyConnectionInfo.MimeContent.Builder

This builder for chaining.

setMimeTypeBytes(ByteString value)

public Conversation.TelephonyConnectionInfo.MimeContent.Builder setMimeTypeBytes(ByteString value)

Optional. The mime type of the content.

string mime_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for mimeType to set.

Returns
Type Description
Conversation.TelephonyConnectionInfo.MimeContent.Builder

This builder for chaining.