public static final class Conversation.TelephonyConnectionInfo.MimeContent.Builder extends GeneratedMessage.Builder<Conversation.TelephonyConnectionInfo.MimeContent.Builder> implements Conversation.TelephonyConnectionInfo.MimeContentOrBuilderThe mime content from the initial SIP INVITE.
Protobuf type
google.cloud.dialogflow.v2beta1.Conversation.TelephonyConnectionInfo.MimeContent
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Conversation.TelephonyConnectionInfo.MimeContent.BuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for mimeType to set. |
| Returns | |
|---|---|
| Type | Description |
Conversation.TelephonyConnectionInfo.MimeContent.Builder |
This builder for chaining. |