public static final class SipHostname.Builder extends GeneratedMessage.Builder<SipHostname.Builder> implements SipHostnameOrBuilderRepresents a peer hostname for SIP Trunk.
Protobuf type google.cloud.dialogflow.v2beta1.SipHostname
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SipHostname.BuilderImplements
SipHostnameOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SipHostname build()| Returns | |
|---|---|
| Type | Description |
SipHostname |
|
buildPartial()
public SipHostname buildPartial()| Returns | |
|---|---|
| Type | Description |
SipHostname |
|
clear()
public SipHostname.Builder clear()| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
|
clearConnectionState()
public SipHostname.Builder clearConnectionState()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.Builder |
This builder for chaining. |
clearEnabledSipPing()
public SipHostname.Builder clearEnabledSipPing()Output only. Peer hostname enabled for SIP ping.
bool enabled_sip_ping = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
This builder for chaining. |
clearErrorDetails()
public SipHostname.Builder clearErrorDetails()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.Builder |
|
clearPeerHostname()
public SipHostname.Builder clearPeerHostname()Required. Peer hostname name.
string peer_hostname = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
This builder for chaining. |
clearPeerSocketAddress()
public SipHostname.Builder clearPeerSocketAddress()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 |
SipHostname.Builder |
This builder for chaining. |
clearPingInterval()
public SipHostname.Builder clearPingInterval()Output only. How often the sip ping should occur.
.google.protobuf.Duration ping_interval = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
|
clearProbeDetails()
public SipHostname.Builder clearProbeDetails()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 |
SipHostname.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getErrorDetailsBuilder()
public SipHostname.HostnameErrorDetails.Builder getErrorDetailsBuilder()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.Builder |
|
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 |
|
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. |
getPingIntervalBuilder()
public Duration.Builder getPingIntervalBuilder()Output only. How often the sip ping should occur.
.google.protobuf.Duration ping_interval = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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. |
getProbeDetailsBuilder()
public ProbeDetails.Builder getProbeDetailsBuilder()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.Builder |
|
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 |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeErrorDetails(SipHostname.HostnameErrorDetails value)
public SipHostname.Builder mergeErrorDetails(SipHostname.HostnameErrorDetails value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
SipHostname.HostnameErrorDetails |
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
|
mergeFrom(SipHostname other)
public SipHostname.Builder mergeFrom(SipHostname other)| Parameter | |
|---|---|
| Name | Description |
other |
SipHostname |
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SipHostname.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SipHostname.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
|
mergePingInterval(Duration value)
public SipHostname.Builder mergePingInterval(Duration value)Output only. How often the sip ping should occur.
.google.protobuf.Duration ping_interval = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
|
mergeProbeDetails(ProbeDetails value)
public SipHostname.Builder mergeProbeDetails(ProbeDetails value)Output only. The details from the options probe.
.google.cloud.dialogflow.v2beta1.ProbeDetails probe_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ProbeDetails |
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
|
setConnectionState(SipHostname.ConnectionState value)
public SipHostname.Builder setConnectionState(SipHostname.ConnectionState value)Output only. State of the connection.
.google.cloud.dialogflow.v2beta1.SipHostname.ConnectionState connection_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
SipHostname.ConnectionStateThe connectionState to set. |
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
This builder for chaining. |
setConnectionStateValue(int value)
public SipHostname.Builder setConnectionStateValue(int value)Output only. State of the connection.
.google.cloud.dialogflow.v2beta1.SipHostname.ConnectionState connection_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for connectionState to set. |
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
This builder for chaining. |
setEnabledSipPing(boolean value)
public SipHostname.Builder setEnabledSipPing(boolean value)Output only. Peer hostname enabled for SIP ping.
bool enabled_sip_ping = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enabledSipPing to set. |
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
This builder for chaining. |
setErrorDetails(SipHostname.HostnameErrorDetails value)
public SipHostname.Builder setErrorDetails(SipHostname.HostnameErrorDetails value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
SipHostname.HostnameErrorDetails |
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
|
setErrorDetails(SipHostname.HostnameErrorDetails.Builder builderForValue)
public SipHostname.Builder setErrorDetails(SipHostname.HostnameErrorDetails.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SipHostname.HostnameErrorDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
|
setPeerHostname(String value)
public SipHostname.Builder setPeerHostname(String value)Required. Peer hostname name.
string peer_hostname = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe peerHostname to set. |
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
This builder for chaining. |
setPeerHostnameBytes(ByteString value)
public SipHostname.Builder setPeerHostnameBytes(ByteString value)Required. Peer hostname name.
string peer_hostname = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for peerHostname to set. |
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
This builder for chaining. |
setPeerSocketAddress(String value)
public SipHostname.Builder setPeerSocketAddress(String value)Output only. The peer_socket address of the partner SBC pinged.
string peer_socket_address = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe peerSocketAddress to set. |
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
This builder for chaining. |
setPeerSocketAddressBytes(ByteString value)
public SipHostname.Builder setPeerSocketAddressBytes(ByteString value)Output only. The peer_socket address of the partner SBC pinged.
string peer_socket_address = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for peerSocketAddress to set. |
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
This builder for chaining. |
setPingInterval(Duration value)
public SipHostname.Builder setPingInterval(Duration value)Output only. How often the sip ping should occur.
.google.protobuf.Duration ping_interval = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
|
setPingInterval(Duration.Builder builderForValue)
public SipHostname.Builder setPingInterval(Duration.Builder builderForValue)Output only. How often the sip ping should occur.
.google.protobuf.Duration ping_interval = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
|
setProbeDetails(ProbeDetails value)
public SipHostname.Builder setProbeDetails(ProbeDetails value)Output only. The details from the options probe.
.google.cloud.dialogflow.v2beta1.ProbeDetails probe_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ProbeDetails |
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
|
setProbeDetails(ProbeDetails.Builder builderForValue)
public SipHostname.Builder setProbeDetails(ProbeDetails.Builder builderForValue)Output only. The details from the options probe.
.google.cloud.dialogflow.v2beta1.ProbeDetails probe_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ProbeDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
SipHostname.Builder |
|