- 4.84.0 (latest)
 - 4.82.0
 - 4.81.0
 - 4.80.0
 - 4.79.0
 - 4.78.0
 - 4.76.0
 - 4.74.0
 - 4.73.0
 - 4.70.0
 - 4.69.0
 - 4.68.0
 - 4.66.0
 - 4.65.0
 - 4.64.0
 - 4.63.0
 - 4.62.0
 - 4.61.0
 - 4.60.0
 - 4.59.0
 - 4.58.0
 - 4.57.0
 - 4.55.0
 - 4.54.0
 - 4.53.0
 - 4.52.0
 - 4.51.0
 - 4.50.0
 - 4.49.0
 - 4.48.0
 - 4.47.0
 - 4.46.0
 - 4.45.0
 - 4.43.0
 - 4.42.0
 - 4.41.0
 - 4.40.0
 - 4.39.0
 - 4.38.0
 - 4.37.0
 - 4.36.0
 - 4.35.0
 - 4.34.0
 - 4.33.0
 - 4.30.0
 - 4.29.0
 - 4.28.0
 - 4.27.0
 - 4.26.0
 - 4.25.0
 - 4.24.0
 - 4.23.0
 - 4.22.0
 - 4.21.0
 - 4.20.0
 - 4.19.0
 - 4.18.0
 - 4.17.0
 - 4.15.0
 - 4.14.0
 - 4.13.0
 - 4.12.0
 - 4.11.0
 - 4.10.0
 - 4.9.1
 - 4.8.6
 - 4.7.5
 - 4.6.0
 - 4.5.11
 - 4.4.0
 - 4.3.1
 
public static final class Connection.Builder extends GeneratedMessageV3.Builder<Connection.Builder> implements ConnectionOrBuilderRepresents a connection for SIP Trunk.
 Protobuf type google.cloud.dialogflow.v2beta1.Connection
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Connection.BuilderImplements
ConnectionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Connection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |
build()
public Connection build()| Returns | |
|---|---|
| Type | Description | 
Connection | 
        |
buildPartial()
public Connection buildPartial()| Returns | |
|---|---|
| Type | Description | 
Connection | 
        |
clear()
public Connection.Builder clear()| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |
clearConnectionId()
public Connection.Builder clearConnectionId()Output only. The unique identifier of the SIP Trunk connection.
 string connection_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        This builder for chaining.  | 
      
clearErrorDetails()
public Connection.Builder clearErrorDetails()Output only. The error details for the connection. Only populated when authentication errors occur.
 
 optional .google.cloud.dialogflow.v2beta1.Connection.ErrorDetails error_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public Connection.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |
clearOneof(Descriptors.OneofDescriptor oneof)
public Connection.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |
clearState()
public Connection.Builder clearState()Output only. State of the connection.
 
 .google.cloud.dialogflow.v2beta1.Connection.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        This builder for chaining.  | 
      
clearUpdateTime()
public Connection.Builder clearUpdateTime()Output only. When the connection status changed.
 
 optional .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |
clone()
public Connection.Builder clone()| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |
getConnectionId()
public String getConnectionId()Output only. The unique identifier of the SIP Trunk connection.
 string connection_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The connectionId.  | 
      
getConnectionIdBytes()
public ByteString getConnectionIdBytes()Output only. The unique identifier of the SIP Trunk connection.
 string connection_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for connectionId.  | 
      
getDefaultInstanceForType()
public Connection getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
Connection | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getErrorDetails()
public Connection.ErrorDetails getErrorDetails()Output only. The error details for the connection. Only populated when authentication errors occur.
 
 optional .google.cloud.dialogflow.v2beta1.Connection.ErrorDetails error_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Connection.ErrorDetails | 
        The errorDetails.  | 
      
getErrorDetailsBuilder()
public Connection.ErrorDetails.Builder getErrorDetailsBuilder()Output only. The error details for the connection. Only populated when authentication errors occur.
 
 optional .google.cloud.dialogflow.v2beta1.Connection.ErrorDetails error_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Connection.ErrorDetails.Builder | 
        |
getErrorDetailsOrBuilder()
public Connection.ErrorDetailsOrBuilder getErrorDetailsOrBuilder()Output only. The error details for the connection. Only populated when authentication errors occur.
 
 optional .google.cloud.dialogflow.v2beta1.Connection.ErrorDetails error_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Connection.ErrorDetailsOrBuilder | 
        |
getState()
public Connection.State getState()Output only. State of the connection.
 
 .google.cloud.dialogflow.v2beta1.Connection.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Connection.State | 
        The state.  | 
      
getStateValue()
public int getStateValue()Output only. State of the connection.
 
 .google.cloud.dialogflow.v2beta1.Connection.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for state.  | 
      
getUpdateTime()
public Timestamp getUpdateTime()Output only. When the connection status changed.
 
 optional .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Timestamp | 
        The updateTime.  | 
      
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. When the connection status changed.
 
 optional .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. When the connection status changed.
 
 optional .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
TimestampOrBuilder | 
        |
hasErrorDetails()
public boolean hasErrorDetails()Output only. The error details for the connection. Only populated when authentication errors occur.
 
 optional .google.cloud.dialogflow.v2beta1.Connection.ErrorDetails error_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the errorDetails field is set.  | 
      
hasUpdateTime()
public boolean hasUpdateTime()Output only. When the connection status changed.
 
 optional .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the updateTime field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeErrorDetails(Connection.ErrorDetails value)
public Connection.Builder mergeErrorDetails(Connection.ErrorDetails value)Output only. The error details for the connection. Only populated when authentication errors occur.
 
 optional .google.cloud.dialogflow.v2beta1.Connection.ErrorDetails error_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Connection.ErrorDetails | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |
mergeFrom(Connection other)
public Connection.Builder mergeFrom(Connection other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Connection | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Connection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public Connection.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Connection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |
mergeUpdateTime(Timestamp value)
public Connection.Builder mergeUpdateTime(Timestamp value)Output only. When the connection status changed.
 
 optional .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |
setConnectionId(String value)
public Connection.Builder setConnectionId(String value)Output only. The unique identifier of the SIP Trunk connection.
 string connection_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe connectionId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        This builder for chaining.  | 
      
setConnectionIdBytes(ByteString value)
public Connection.Builder setConnectionIdBytes(ByteString value)Output only. The unique identifier of the SIP Trunk connection.
 string connection_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for connectionId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        This builder for chaining.  | 
      
setErrorDetails(Connection.ErrorDetails value)
public Connection.Builder setErrorDetails(Connection.ErrorDetails value)Output only. The error details for the connection. Only populated when authentication errors occur.
 
 optional .google.cloud.dialogflow.v2beta1.Connection.ErrorDetails error_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Connection.ErrorDetails | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |
setErrorDetails(Connection.ErrorDetails.Builder builderForValue)
public Connection.Builder setErrorDetails(Connection.ErrorDetails.Builder builderForValue)Output only. The error details for the connection. Only populated when authentication errors occur.
 
 optional .google.cloud.dialogflow.v2beta1.Connection.ErrorDetails error_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Connection.ErrorDetails.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public Connection.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Connection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |
setState(Connection.State value)
public Connection.Builder setState(Connection.State value)Output only. State of the connection.
 
 .google.cloud.dialogflow.v2beta1.Connection.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Connection.StateThe state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        This builder for chaining.  | 
      
setStateValue(int value)
public Connection.Builder setStateValue(int value)Output only. State of the connection.
 
 .google.cloud.dialogflow.v2beta1.Connection.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final Connection.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |
setUpdateTime(Timestamp value)
public Connection.Builder setUpdateTime(Timestamp value)Output only. When the connection status changed.
 
 optional .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |
setUpdateTime(Timestamp.Builder builderForValue)
public Connection.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. When the connection status changed.
 
 optional .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Connection.Builder | 
        |