Interface SipTrunkOrBuilder (4.60.0)

public interface SipTrunkOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConnections(int index)

public abstract 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

getConnectionsCount()

public abstract 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 abstract 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 abstract 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 abstract 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>

getDisplayName()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract List<String> 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
List<String>

A list containing the expectedHostname.

getName()

public abstract 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 abstract 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.