Package com.google.cloud.dialogflow.v2
Interface SipTrunkOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SipTrunk,SipTrunk.Builder
@Generated
public interface SipTrunkOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetConnections(int index) Output only.intOutput only.Output only.getConnectionsOrBuilder(int index) Output only.List<? extends ConnectionOrBuilder>Output only.Optional.com.google.protobuf.ByteStringOptional.getExpectedHostname(int index) Required.com.google.protobuf.ByteStringgetExpectedHostnameBytes(int index) Required.intRequired.Required.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
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:
- A list containing the expectedHostname.
-
getExpectedHostnameCount
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:
- The count of expectedHostname.
-
getExpectedHostname
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:
index- The index of the element to return.- Returns:
- The expectedHostname at the given index.
-
getExpectedHostnameBytes
com.google.protobuf.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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the expectedHostname at the given index.
-
getConnectionsList
List<Connection> getConnectionsList()Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getConnections
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getConnectionsCount
int getConnectionsCount()Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getConnectionsOrBuilderList
List<? extends ConnectionOrBuilder> getConnectionsOrBuilderList()Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getConnectionsOrBuilder
Output only. Connections of the SIP trunk.
repeated .google.cloud.dialogflow.v2.Connection connections = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDisplayName
String getDisplayName()Optional. Human readable alias for this trunk.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Optional. Human readable alias for this trunk.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for displayName.
-