Class Conversation.TelephonyConnectionInfo.SipHeader.Builder (4.89.0)

public static final class Conversation.TelephonyConnectionInfo.SipHeader.Builder extends GeneratedMessage.Builder<Conversation.TelephonyConnectionInfo.SipHeader.Builder> implements Conversation.TelephonyConnectionInfo.SipHeaderOrBuilder

The SIP headers from the initial SIP INVITE.

Protobuf type google.cloud.dialogflow.v2.Conversation.TelephonyConnectionInfo.SipHeader

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearName()

public Conversation.TelephonyConnectionInfo.SipHeader.Builder clearName()

Optional. The name of the header.

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

Returns
Type Description
Conversation.TelephonyConnectionInfo.SipHeader.Builder

This builder for chaining.

clearValue()

public Conversation.TelephonyConnectionInfo.SipHeader.Builder clearValue()

Optional. The value of the header.

string value = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Conversation.TelephonyConnectionInfo.SipHeader.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getName()

public String getName()

Optional. The name of the header.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Optional. The name of the header.

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

Returns
Type Description
ByteString

The bytes for name.

getValue()

public String getValue()

Optional. The value of the header.

string value = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

Optional. The value of the header.

string value = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for value.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Conversation.TelephonyConnectionInfo.SipHeader other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public Conversation.TelephonyConnectionInfo.SipHeader.Builder setName(String value)

Optional. The name of the header.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Conversation.TelephonyConnectionInfo.SipHeader.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Conversation.TelephonyConnectionInfo.SipHeader.Builder setNameBytes(ByteString value)

Optional. The name of the header.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Conversation.TelephonyConnectionInfo.SipHeader.Builder

This builder for chaining.

setValue(String value)

public Conversation.TelephonyConnectionInfo.SipHeader.Builder setValue(String value)

Optional. The value of the header.

string value = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The value to set.

Returns
Type Description
Conversation.TelephonyConnectionInfo.SipHeader.Builder

This builder for chaining.

setValueBytes(ByteString value)

public Conversation.TelephonyConnectionInfo.SipHeader.Builder setValueBytes(ByteString value)

Optional. The value of the header.

string value = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for value to set.

Returns
Type Description
Conversation.TelephonyConnectionInfo.SipHeader.Builder

This builder for chaining.