Interface CreateDataSourceResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateDataSourceResponse,CreateDataSourceResponse.Builder
@Generated
public interface CreateDataSourceResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe created datasource (includes generated datasource_id and api_key).The created datasource (includes generated datasource_id and api_key).Status or error message.com.google.protobuf.ByteStringStatus or error message.booleanWhether creation succeeded.booleanThe created datasource (includes generated datasource_id and api_key).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
-
getSuccess
boolean getSuccess()Whether creation succeeded.
bool success = 1 [json_name = "success"];- Returns:
- The success.
-
hasDatasource
boolean hasDatasource()The created datasource (includes generated datasource_id and api_key).
.ai.pipestream.connector.intake.v1.DataSource datasource = 2 [json_name = "datasource"];- Returns:
- Whether the datasource field is set.
-
getDatasource
DataSource getDatasource()The created datasource (includes generated datasource_id and api_key).
.ai.pipestream.connector.intake.v1.DataSource datasource = 2 [json_name = "datasource"];- Returns:
- The datasource.
-
getDatasourceOrBuilder
DataSourceOrBuilder getDatasourceOrBuilder()The created datasource (includes generated datasource_id and api_key).
.ai.pipestream.connector.intake.v1.DataSource datasource = 2 [json_name = "datasource"]; -
getMessage
String getMessage()Status or error message.
string message = 3 [json_name = "message"];- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()Status or error message.
string message = 3 [json_name = "message"];- Returns:
- The bytes for message.
-