Class ListSipTrunksResponse.Builder (4.60.0)

public static final class ListSipTrunksResponse.Builder extends GeneratedMessageV3.Builder<ListSipTrunksResponse.Builder> implements ListSipTrunksResponseOrBuilder

The response message for SipTrunks.ListSipTrunks.

Protobuf type google.cloud.dialogflow.v2beta1.ListSipTrunksResponse

Static Methods

getDescriptor()

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

Methods

addAllSipTrunks(Iterable<? extends SipTrunk> values)

public ListSipTrunksResponse.Builder addAllSipTrunks(Iterable<? extends SipTrunk> values)

The list of SIP trunks.

repeated .google.cloud.dialogflow.v2beta1.SipTrunk sip_trunks = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2beta1.SipTrunk>
Returns
Type Description
ListSipTrunksResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSipTrunks(SipTrunk value)

public ListSipTrunksResponse.Builder addSipTrunks(SipTrunk value)

The list of SIP trunks.

repeated .google.cloud.dialogflow.v2beta1.SipTrunk sip_trunks = 1;

Parameter
Name Description
value SipTrunk
Returns
Type Description
ListSipTrunksResponse.Builder

addSipTrunks(SipTrunk.Builder builderForValue)

public ListSipTrunksResponse.Builder addSipTrunks(SipTrunk.Builder builderForValue)

The list of SIP trunks.

repeated .google.cloud.dialogflow.v2beta1.SipTrunk sip_trunks = 1;

Parameter
Name Description
builderForValue SipTrunk.Builder
Returns
Type Description
ListSipTrunksResponse.Builder

addSipTrunks(int index, SipTrunk value)

public ListSipTrunksResponse.Builder addSipTrunks(int index, SipTrunk value)

The list of SIP trunks.

repeated .google.cloud.dialogflow.v2beta1.SipTrunk sip_trunks = 1;

Parameters
Name Description
index int
value SipTrunk
Returns
Type Description
ListSipTrunksResponse.Builder

addSipTrunks(int index, SipTrunk.Builder builderForValue)

public ListSipTrunksResponse.Builder addSipTrunks(int index, SipTrunk.Builder builderForValue)

The list of SIP trunks.

repeated .google.cloud.dialogflow.v2beta1.SipTrunk sip_trunks = 1;

Parameters
Name Description
index int
builderForValue SipTrunk.Builder
Returns
Type Description
ListSipTrunksResponse.Builder

addSipTrunksBuilder()

public SipTrunk.Builder addSipTrunksBuilder()

The list of SIP trunks.

repeated .google.cloud.dialogflow.v2beta1.SipTrunk sip_trunks = 1;

Returns
Type Description
SipTrunk.Builder

addSipTrunksBuilder(int index)

public SipTrunk.Builder addSipTrunksBuilder(int index)

The list of SIP trunks.

repeated .google.cloud.dialogflow.v2beta1.SipTrunk sip_trunks = 1;

Parameter
Name Description
index int
Returns
Type Description
SipTrunk.Builder

build()

public ListSipTrunksResponse build()
Returns
Type Description
ListSipTrunksResponse

buildPartial()

public ListSipTrunksResponse buildPartial()
Returns
Type Description
ListSipTrunksResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListSipTrunksResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ListSipTrunksResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSipTrunks()

public ListSipTrunksResponse.Builder clearSipTrunks()

The list of SIP trunks.

repeated .google.cloud.dialogflow.v2beta1.SipTrunk sip_trunks = 1;

Returns
Type Description
ListSipTrunksResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListSipTrunksResponse getDefaultInstanceForType()
Returns
Type Description
ListSipTrunksResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getSipTrunks(int index)

public SipTrunk getSipTrunks(int index)

The list of SIP trunks.

repeated .google.cloud.dialogflow.v2beta1.SipTrunk sip_trunks = 1;

Parameter
Name Description
index int
Returns
Type Description
SipTrunk

getSipTrunksBuilder(int index)

public SipTrunk.Builder getSipTrunksBuilder(int index)

The list of SIP trunks.

repeated .google.cloud.dialogflow.v2beta1.SipTrunk sip_trunks = 1;

Parameter
Name Description
index int
Returns
Type Description
SipTrunk.Builder

getSipTrunksBuilderList()

public List<SipTrunk.Builder> getSipTrunksBuilderList()

The list of SIP trunks.

repeated .google.cloud.dialogflow.v2beta1.SipTrunk sip_trunks = 1;

Returns
Type Description
List<Builder>

getSipTrunksCount()

public int getSipTrunksCount()

The list of SIP trunks.

repeated .google.cloud.dialogflow.v2beta1.SipTrunk sip_trunks = 1;

Returns
Type Description
int

getSipTrunksList()

public List<SipTrunk> getSipTrunksList()

The list of SIP trunks.

repeated .google.cloud.dialogflow.v2beta1.SipTrunk sip_trunks = 1;

Returns
Type Description
List<SipTrunk>

getSipTrunksOrBuilder(int index)

public SipTrunkOrBuilder getSipTrunksOrBuilder(int index)

The list of SIP trunks.

repeated .google.cloud.dialogflow.v2beta1.SipTrunk sip_trunks = 1;

Parameter
Name Description
index int
Returns
Type Description
SipTrunkOrBuilder

getSipTrunksOrBuilderList()

public List<? extends SipTrunkOrBuilder> getSipTrunksOrBuilderList()

The list of SIP trunks.

repeated .google.cloud.dialogflow.v2beta1.SipTrunk sip_trunks = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.SipTrunkOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSipTrunksResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSipTrunks(int index)

public ListSipTrunksResponse.Builder removeSipTrunks(int index)

The list of SIP trunks.

repeated .google.cloud.dialogflow.v2beta1.SipTrunk sip_trunks = 1;

Parameter
Name Description
index int
Returns
Type Description
ListSipTrunksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListSipTrunksResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListSipTrunksResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListSipTrunksResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListSipTrunksResponse.Builder

This builder for chaining.

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

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

setSipTrunks(int index, SipTrunk value)

public ListSipTrunksResponse.Builder setSipTrunks(int index, SipTrunk value)

The list of SIP trunks.

repeated .google.cloud.dialogflow.v2beta1.SipTrunk sip_trunks = 1;

Parameters
Name Description
index int
value SipTrunk
Returns
Type Description
ListSipTrunksResponse.Builder

setSipTrunks(int index, SipTrunk.Builder builderForValue)

public ListSipTrunksResponse.Builder setSipTrunks(int index, SipTrunk.Builder builderForValue)

The list of SIP trunks.

repeated .google.cloud.dialogflow.v2beta1.SipTrunk sip_trunks = 1;

Parameters
Name Description
index int
builderForValue SipTrunk.Builder
Returns
Type Description
ListSipTrunksResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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