- 4.61.0 (latest)
- 4.60.0
- 4.59.0
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class SipTrunk.Builder extends GeneratedMessageV3.Builder<SipTrunk.Builder> implements SipTrunkOrBuilder
SipTrunk is the resource that represents a SIP trunk to connect to Google Telephony platform SIP trunking service.
Protobuf type google.cloud.dialogflow.v2beta1.SipTrunk
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SipTrunk.BuilderImplements
SipTrunkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllConnections(Iterable<? extends Connection> values)
public SipTrunk.Builder addAllConnections(Iterable<? extends Connection> values)
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2beta1.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2beta1.Connection> |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
addAllExpectedHostname(Iterable<String> values)
public SipTrunk.Builder addAllExpectedHostname(Iterable<String> values)
Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
repeated string expected_hostname = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The expectedHostname to add. |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
This builder for chaining. |
addConnections(Connection value)
public SipTrunk.Builder addConnections(Connection value)
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2beta1.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Connection |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
addConnections(Connection.Builder builderForValue)
public SipTrunk.Builder addConnections(Connection.Builder builderForValue)
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2beta1.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Connection.Builder |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
addConnections(int index, Connection value)
public SipTrunk.Builder addConnections(int index, Connection value)
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2beta1.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Connection |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
addConnections(int index, Connection.Builder builderForValue)
public SipTrunk.Builder addConnections(int index, Connection.Builder builderForValue)
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2beta1.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Connection.Builder |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
addConnectionsBuilder()
public Connection.Builder addConnectionsBuilder()
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2beta1.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Connection.Builder |
addConnectionsBuilder(int index)
public Connection.Builder addConnectionsBuilder(int index)
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2beta1.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Connection.Builder |
addExpectedHostname(String value)
public SipTrunk.Builder addExpectedHostname(String value)
Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
repeated string expected_hostname = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The expectedHostname to add. |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
This builder for chaining. |
addExpectedHostnameBytes(ByteString value)
public SipTrunk.Builder addExpectedHostnameBytes(ByteString value)
Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
repeated string expected_hostname = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the expectedHostname to add. |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SipTrunk.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
build()
public SipTrunk build()
Returns | |
---|---|
Type | Description |
SipTrunk |
buildPartial()
public SipTrunk buildPartial()
Returns | |
---|---|
Type | Description |
SipTrunk |
clear()
public SipTrunk.Builder clear()
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
clearConnections()
public SipTrunk.Builder clearConnections()
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2beta1.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
clearDisplayName()
public SipTrunk.Builder clearDisplayName()
Optional. Human readable alias for this trunk.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
This builder for chaining. |
clearExpectedHostname()
public SipTrunk.Builder clearExpectedHostname()
Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
repeated string expected_hostname = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SipTrunk.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
clearName()
public SipTrunk.Builder clearName()
Identifier. The unique identifier of the SIP trunk.
Format: projects/<Project ID>/locations/<Location ID>/sipTrunks/<SipTrunk
ID>
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SipTrunk.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
clone()
public SipTrunk.Builder clone()
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
getConnections(int index)
public Connection getConnections(int index)
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2beta1.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Connection |
getConnectionsBuilder(int index)
public Connection.Builder getConnectionsBuilder(int index)
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2beta1.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Connection.Builder |
getConnectionsBuilderList()
public List<Connection.Builder> getConnectionsBuilderList()
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2beta1.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<Builder> |
getConnectionsCount()
public int getConnectionsCount()
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2beta1.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
getConnectionsList()
public List<Connection> getConnectionsList()
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2beta1.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<Connection> |
getConnectionsOrBuilder(int index)
public ConnectionOrBuilder getConnectionsOrBuilder(int index)
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2beta1.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ConnectionOrBuilder |
getConnectionsOrBuilderList()
public List<? extends ConnectionOrBuilder> getConnectionsOrBuilderList()
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2beta1.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.ConnectionOrBuilder> |
getDefaultInstanceForType()
public SipTrunk getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SipTrunk |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Optional. Human readable alias for this trunk.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. Human readable alias for this trunk.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getExpectedHostname(int index)
public String getExpectedHostname(int index)
Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
repeated string expected_hostname = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The expectedHostname at the given index. |
getExpectedHostnameBytes(int index)
public ByteString getExpectedHostnameBytes(int index)
Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
repeated string expected_hostname = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the expectedHostname at the given index. |
getExpectedHostnameCount()
public int getExpectedHostnameCount()
Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
repeated string expected_hostname = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The count of expectedHostname. |
getExpectedHostnameList()
public ProtocolStringList getExpectedHostnameList()
Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
repeated string expected_hostname = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the expectedHostname. |
getName()
public String getName()
Identifier. The unique identifier of the SIP trunk.
Format: projects/<Project ID>/locations/<Location ID>/sipTrunks/<SipTrunk
ID>
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Identifier. The unique identifier of the SIP trunk.
Format: projects/<Project ID>/locations/<Location ID>/sipTrunks/<SipTrunk
ID>
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SipTrunk other)
public SipTrunk.Builder mergeFrom(SipTrunk other)
Parameter | |
---|---|
Name | Description |
other |
SipTrunk |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SipTrunk.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SipTrunk.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SipTrunk.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
removeConnections(int index)
public SipTrunk.Builder removeConnections(int index)
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2beta1.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
setConnections(int index, Connection value)
public SipTrunk.Builder setConnections(int index, Connection value)
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2beta1.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Connection |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
setConnections(int index, Connection.Builder builderForValue)
public SipTrunk.Builder setConnections(int index, Connection.Builder builderForValue)
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2beta1.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Connection.Builder |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
setDisplayName(String value)
public SipTrunk.Builder setDisplayName(String value)
Optional. Human readable alias for this trunk.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public SipTrunk.Builder setDisplayNameBytes(ByteString value)
Optional. Human readable alias for this trunk.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
This builder for chaining. |
setExpectedHostname(int index, String value)
public SipTrunk.Builder setExpectedHostname(int index, String value)
Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
repeated string expected_hostname = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The expectedHostname to set. |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SipTrunk.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
setName(String value)
public SipTrunk.Builder setName(String value)
Identifier. The unique identifier of the SIP trunk.
Format: projects/<Project ID>/locations/<Location ID>/sipTrunks/<SipTrunk
ID>
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public SipTrunk.Builder setNameBytes(ByteString value)
Identifier. The unique identifier of the SIP trunk.
Format: projects/<Project ID>/locations/<Location ID>/sipTrunks/<SipTrunk
ID>
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SipTrunk.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SipTrunk.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SipTrunk.Builder |