Interface SipTrunkOrBuilder (4.101.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.

getGoogleRootCertFile()

public abstract SipTrunk.GoogleRootCertFile getGoogleRootCertFile()

Optional. The root certificate file to use for this SIP trunk.

.google.cloud.dialogflow.v2beta1.SipTrunk.GoogleRootCertFile google_root_cert_file = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SipTrunk.GoogleRootCertFile

The googleRootCertFile.

getGoogleRootCertFileValue()

public abstract int getGoogleRootCertFileValue()

Optional. The root certificate file to use for this SIP trunk.

.google.cloud.dialogflow.v2beta1.SipTrunk.GoogleRootCertFile google_root_cert_file = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for googleRootCertFile.

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.

getPeerHostnames(int index)

public abstract SipHostname getPeerHostnames(int index)

Required. Peer hostnames of the SIP trunk.

repeated .google.cloud.dialogflow.v2beta1.SipHostname peer_hostnames = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SipHostname

getPeerHostnamesCount()

public abstract int getPeerHostnamesCount()

Required. Peer hostnames of the SIP trunk.

repeated .google.cloud.dialogflow.v2beta1.SipHostname peer_hostnames = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getPeerHostnamesList()

public abstract List<SipHostname> getPeerHostnamesList()

Required. Peer hostnames of the SIP trunk.

repeated .google.cloud.dialogflow.v2beta1.SipHostname peer_hostnames = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<SipHostname>

getPeerHostnamesOrBuilder(int index)

public abstract SipHostnameOrBuilder getPeerHostnamesOrBuilder(int index)

Required. Peer hostnames of the SIP trunk.

repeated .google.cloud.dialogflow.v2beta1.SipHostname peer_hostnames = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SipHostnameOrBuilder

getPeerHostnamesOrBuilderList()

public abstract List<? extends SipHostnameOrBuilder> getPeerHostnamesOrBuilderList()

Required. Peer hostnames of the SIP trunk.

repeated .google.cloud.dialogflow.v2beta1.SipHostname peer_hostnames = 8 [(.google.api.field_behavior) = REQUIRED];

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