Class SipHostname (4.101.0)

public final class SipHostname extends GeneratedMessage implements SipHostnameOrBuilder

Represents a peer hostname for SIP Trunk.

Protobuf type google.cloud.dialogflow.v2beta1.SipHostname

Static Fields

CONNECTION_STATE_FIELD_NUMBER

public static final int CONNECTION_STATE_FIELD_NUMBER
Field Value
Type Description
int

ENABLED_SIP_PING_FIELD_NUMBER

public static final int ENABLED_SIP_PING_FIELD_NUMBER
Field Value
Type Description
int

ERROR_DETAILS_FIELD_NUMBER

public static final int ERROR_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

PEER_HOSTNAME_FIELD_NUMBER

public static final int PEER_HOSTNAME_FIELD_NUMBER
Field Value
Type Description
int

PEER_SOCKET_ADDRESS_FIELD_NUMBER

public static final int PEER_SOCKET_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

PING_INTERVAL_FIELD_NUMBER

public static final int PING_INTERVAL_FIELD_NUMBER
Field Value
Type Description
int

PROBE_DETAILS_FIELD_NUMBER

public static final int PROBE_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SipHostname getDefaultInstance()
Returns
Type Description
SipHostname

getDescriptor()

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

newBuilder()

public static SipHostname.Builder newBuilder()
Returns
Type Description
SipHostname.Builder

newBuilder(SipHostname prototype)

public static SipHostname.Builder newBuilder(SipHostname prototype)
Parameter
Name Description
prototype SipHostname
Returns
Type Description
SipHostname.Builder

parseDelimitedFrom(InputStream input)

public static SipHostname parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SipHostname
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SipHostname parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SipHostname
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SipHostname parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SipHostname
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SipHostname parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SipHostname
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SipHostname parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SipHostname
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SipHostname parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SipHostname
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SipHostname parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SipHostname
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SipHostname parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SipHostname
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SipHostname parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SipHostname
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SipHostname parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SipHostname
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SipHostname parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SipHostname
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SipHostname parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SipHostname
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SipHostname> parser()
Returns
Type Description
Parser<SipHostname>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConnectionState()

public SipHostname.ConnectionState getConnectionState()

Output only. State of the connection.

.google.cloud.dialogflow.v2beta1.SipHostname.ConnectionState connection_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SipHostname.ConnectionState

The connectionState.

getConnectionStateValue()

public int getConnectionStateValue()

Output only. State of the connection.

.google.cloud.dialogflow.v2beta1.SipHostname.ConnectionState connection_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for connectionState.

getDefaultInstanceForType()

public SipHostname getDefaultInstanceForType()
Returns
Type Description
SipHostname

getEnabledSipPing()

public boolean getEnabledSipPing()

Output only. Peer hostname enabled for SIP ping.

bool enabled_sip_ping = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The enabledSipPing.

getErrorDetails()

public SipHostname.HostnameErrorDetails getErrorDetails()

Output only. The error details for the connection. Only populated when authentication errors occur.

.google.cloud.dialogflow.v2beta1.SipHostname.HostnameErrorDetails error_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SipHostname.HostnameErrorDetails

The errorDetails.

getErrorDetailsOrBuilder()

public SipHostname.HostnameErrorDetailsOrBuilder getErrorDetailsOrBuilder()

Output only. The error details for the connection. Only populated when authentication errors occur.

.google.cloud.dialogflow.v2beta1.SipHostname.HostnameErrorDetails error_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SipHostname.HostnameErrorDetailsOrBuilder

getParserForType()

public Parser<SipHostname> getParserForType()
Returns
Type Description
Parser<SipHostname>
Overrides

getPeerHostname()

public String getPeerHostname()

Required. Peer hostname name.

string peer_hostname = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The peerHostname.

getPeerHostnameBytes()

public ByteString getPeerHostnameBytes()

Required. Peer hostname name.

string peer_hostname = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for peerHostname.

getPeerSocketAddress()

public String getPeerSocketAddress()

Output only. The peer_socket address of the partner SBC pinged.

string peer_socket_address = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The peerSocketAddress.

getPeerSocketAddressBytes()

public ByteString getPeerSocketAddressBytes()

Output only. The peer_socket address of the partner SBC pinged.

string peer_socket_address = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for peerSocketAddress.

getPingInterval()

public Duration getPingInterval()

Output only. How often the sip ping should occur.

.google.protobuf.Duration ping_interval = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Duration

The pingInterval.

getPingIntervalOrBuilder()

public DurationOrBuilder getPingIntervalOrBuilder()

Output only. How often the sip ping should occur.

.google.protobuf.Duration ping_interval = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DurationOrBuilder

getProbeDetails()

public ProbeDetails getProbeDetails()

Output only. The details from the options probe.

.google.cloud.dialogflow.v2beta1.ProbeDetails probe_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProbeDetails

The probeDetails.

getProbeDetailsOrBuilder()

public ProbeDetailsOrBuilder getProbeDetailsOrBuilder()

Output only. The details from the options probe.

.google.cloud.dialogflow.v2beta1.ProbeDetails probe_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProbeDetailsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasErrorDetails()

public boolean hasErrorDetails()

Output only. The error details for the connection. Only populated when authentication errors occur.

.google.cloud.dialogflow.v2beta1.SipHostname.HostnameErrorDetails error_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the errorDetails field is set.

hasPingInterval()

public boolean hasPingInterval()

Output only. How often the sip ping should occur.

.google.protobuf.Duration ping_interval = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the pingInterval field is set.

hasProbeDetails()

public boolean hasProbeDetails()

Output only. The details from the options probe.

.google.cloud.dialogflow.v2beta1.ProbeDetails probe_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the probeDetails field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SipHostname.Builder newBuilderForType()
Returns
Type Description
SipHostname.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SipHostname.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SipHostname.Builder
Overrides

toBuilder()

public SipHostname.Builder toBuilder()
Returns
Type Description
SipHostname.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException