Class DataSource
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.bigquery.datatransfer.v1.DataSource
- All Implemented Interfaces:
DataSourceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DataSource
extends com.google.protobuf.GeneratedMessage
implements DataSourceOrBuilder
Defines the properties and custom parameters for a data source.Protobuf type
google.cloud.bigquery.datatransfer.v1.DataSource- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of authorization needed for this data source.static final classDefines the properties and custom parameters for a data source.static enumRepresents how the data source supports data auto refresh.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates the type of authorization.intIndicates the type of authorization.Data source client id which should be used to receive refresh token.com.google.protobuf.ByteStringData source client id which should be used to receive refresh token.Specifies whether the data source supports automatic data refresh for the past few days, and how it's supported.intSpecifies whether the data source supports automatic data refresh for the past few days, and how it's supported.Data source id.com.google.protobuf.ByteStringData source id.intDefault data refresh window on days.static DataSourceDefault data transfer schedule.com.google.protobuf.ByteStringDefault data transfer schedule.User friendly data source description string.com.google.protobuf.ByteStringUser friendly data source description string.static final com.google.protobuf.Descriptors.DescriptorUser friendly data source name.com.google.protobuf.ByteStringUser friendly data source name.Url for the help document for this data source.com.google.protobuf.ByteStringUrl for the help document for this data source.booleanDisables backfilling and manual run scheduling for the data source.com.google.protobuf.DurationThe minimum interval for scheduler to schedule runs.com.google.protobuf.DurationOrBuilderThe minimum interval for scheduler to schedule runs.getName()Output only.com.google.protobuf.ByteStringOutput only.getParameters(int index) Data source parameters.intData source parameters.Data source parameters.getParametersOrBuilder(int index) Data source parameters.List<? extends DataSourceParameterOrBuilder>Data source parameters.com.google.protobuf.Parser<DataSource>getScopes(int index) Api auth scopes for which refresh token needs to be obtained.com.google.protobuf.ByteStringgetScopesBytes(int index) Api auth scopes for which refresh token needs to be obtained.intApi auth scopes for which refresh token needs to be obtained.com.google.protobuf.ProtocolStringListApi auth scopes for which refresh token needs to be obtained.intbooleanSpecifies whether the data source supports a user defined schedule, or operates on the default schedule.booleanDeprecated.google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is deprecated.Deprecated.google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated.intDeprecated.google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated.intThe number of seconds to wait for an update from the data source before the Data Transfer Service marks the transfer as FAILED.inthashCode()booleanThe minimum interval for scheduler to schedule runs.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic DataSource.Builderstatic DataSource.BuildernewBuilder(DataSource prototype) protected DataSource.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DataSourceparseDelimitedFrom(InputStream input) static DataSourceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSourceparseFrom(byte[] data) static DataSourceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSourceparseFrom(com.google.protobuf.ByteString data) static DataSourceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSourceparseFrom(com.google.protobuf.CodedInputStream input) static DataSourceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSourceparseFrom(InputStream input) static DataSourceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSourceparseFrom(ByteBuffer data) static DataSourceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DataSource>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DATA_SOURCE_ID_FIELD_NUMBER
public static final int DATA_SOURCE_ID_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
CLIENT_ID_FIELD_NUMBER
public static final int CLIENT_ID_FIELD_NUMBER- See Also:
-
SCOPES_FIELD_NUMBER
public static final int SCOPES_FIELD_NUMBER- See Also:
-
TRANSFER_TYPE_FIELD_NUMBER
public static final int TRANSFER_TYPE_FIELD_NUMBER- See Also:
-
SUPPORTS_MULTIPLE_TRANSFERS_FIELD_NUMBER
public static final int SUPPORTS_MULTIPLE_TRANSFERS_FIELD_NUMBER- See Also:
-
UPDATE_DEADLINE_SECONDS_FIELD_NUMBER
public static final int UPDATE_DEADLINE_SECONDS_FIELD_NUMBER- See Also:
-
DEFAULT_SCHEDULE_FIELD_NUMBER
public static final int DEFAULT_SCHEDULE_FIELD_NUMBER- See Also:
-
SUPPORTS_CUSTOM_SCHEDULE_FIELD_NUMBER
public static final int SUPPORTS_CUSTOM_SCHEDULE_FIELD_NUMBER- See Also:
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER- See Also:
-
HELP_URL_FIELD_NUMBER
public static final int HELP_URL_FIELD_NUMBER- See Also:
-
AUTHORIZATION_TYPE_FIELD_NUMBER
public static final int AUTHORIZATION_TYPE_FIELD_NUMBER- See Also:
-
DATA_REFRESH_TYPE_FIELD_NUMBER
public static final int DATA_REFRESH_TYPE_FIELD_NUMBER- See Also:
-
DEFAULT_DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER
public static final int DEFAULT_DATA_REFRESH_WINDOW_DAYS_FIELD_NUMBER- See Also:
-
MANUAL_RUNS_DISABLED_FIELD_NUMBER
public static final int MANUAL_RUNS_DISABLED_FIELD_NUMBER- See Also:
-
MINIMUM_SCHEDULE_INTERVAL_FIELD_NUMBER
public static final int MINIMUM_SCHEDULE_INTERVAL_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Output only. Data source resource name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceDataSourceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. Data source resource name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceDataSourceOrBuilder- Returns:
- The bytes for name.
-
getDataSourceId
Data source id.
string data_source_id = 2;- Specified by:
getDataSourceIdin interfaceDataSourceOrBuilder- Returns:
- The dataSourceId.
-
getDataSourceIdBytes
public com.google.protobuf.ByteString getDataSourceIdBytes()Data source id.
string data_source_id = 2;- Specified by:
getDataSourceIdBytesin interfaceDataSourceOrBuilder- Returns:
- The bytes for dataSourceId.
-
getDisplayName
User friendly data source name.
string display_name = 3;- Specified by:
getDisplayNamein interfaceDataSourceOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()User friendly data source name.
string display_name = 3;- Specified by:
getDisplayNameBytesin interfaceDataSourceOrBuilder- Returns:
- The bytes for displayName.
-
getDescription
User friendly data source description string.
string description = 4;- Specified by:
getDescriptionin interfaceDataSourceOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()User friendly data source description string.
string description = 4;- Specified by:
getDescriptionBytesin interfaceDataSourceOrBuilder- Returns:
- The bytes for description.
-
getClientId
Data source client id which should be used to receive refresh token.
string client_id = 5;- Specified by:
getClientIdin interfaceDataSourceOrBuilder- Returns:
- The clientId.
-
getClientIdBytes
public com.google.protobuf.ByteString getClientIdBytes()Data source client id which should be used to receive refresh token.
string client_id = 5;- Specified by:
getClientIdBytesin interfaceDataSourceOrBuilder- Returns:
- The bytes for clientId.
-
getScopesList
public com.google.protobuf.ProtocolStringList getScopesList()Api auth scopes for which refresh token needs to be obtained. These are scopes needed by a data source to prepare data and ingest them into BigQuery, e.g., https://www.googleapis.com/auth/bigquery
repeated string scopes = 6;- Specified by:
getScopesListin interfaceDataSourceOrBuilder- Returns:
- A list containing the scopes.
-
getScopesCount
public int getScopesCount()Api auth scopes for which refresh token needs to be obtained. These are scopes needed by a data source to prepare data and ingest them into BigQuery, e.g., https://www.googleapis.com/auth/bigquery
repeated string scopes = 6;- Specified by:
getScopesCountin interfaceDataSourceOrBuilder- Returns:
- The count of scopes.
-
getScopes
Api auth scopes for which refresh token needs to be obtained. These are scopes needed by a data source to prepare data and ingest them into BigQuery, e.g., https://www.googleapis.com/auth/bigquery
repeated string scopes = 6;- Specified by:
getScopesin interfaceDataSourceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The scopes at the given index.
-
getScopesBytes
public com.google.protobuf.ByteString getScopesBytes(int index) Api auth scopes for which refresh token needs to be obtained. These are scopes needed by a data source to prepare data and ingest them into BigQuery, e.g., https://www.googleapis.com/auth/bigquery
repeated string scopes = 6;- Specified by:
getScopesBytesin interfaceDataSourceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the scopes at the given index.
-
getTransferTypeValue
Deprecated.google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=396Deprecated. This field has no effect.
.google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true];- Specified by:
getTransferTypeValuein interfaceDataSourceOrBuilder- Returns:
- The enum numeric value on the wire for transferType.
-
getTransferType
Deprecated.google.cloud.bigquery.datatransfer.v1.DataSource.transfer_type is deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=396Deprecated. This field has no effect.
.google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true];- Specified by:
getTransferTypein interfaceDataSourceOrBuilder- Returns:
- The transferType.
-
getSupportsMultipleTransfers
Deprecated.google.cloud.bigquery.datatransfer.v1.DataSource.supports_multiple_transfers is deprecated. See google/cloud/bigquery/datatransfer/v1/datatransfer.proto;l=399Deprecated. This field has no effect.
bool supports_multiple_transfers = 8 [deprecated = true];- Specified by:
getSupportsMultipleTransfersin interfaceDataSourceOrBuilder- Returns:
- The supportsMultipleTransfers.
-
getUpdateDeadlineSeconds
public int getUpdateDeadlineSeconds()The number of seconds to wait for an update from the data source before the Data Transfer Service marks the transfer as FAILED.
int32 update_deadline_seconds = 9;- Specified by:
getUpdateDeadlineSecondsin interfaceDataSourceOrBuilder- Returns:
- The updateDeadlineSeconds.
-
getDefaultSchedule
Default data transfer schedule. Examples of valid schedules include: `1st,3rd monday of month 15:30`, `every wed,fri of jan,jun 13:15`, and `first sunday of quarter 00:00`.
string default_schedule = 10;- Specified by:
getDefaultSchedulein interfaceDataSourceOrBuilder- Returns:
- The defaultSchedule.
-
getDefaultScheduleBytes
public com.google.protobuf.ByteString getDefaultScheduleBytes()Default data transfer schedule. Examples of valid schedules include: `1st,3rd monday of month 15:30`, `every wed,fri of jan,jun 13:15`, and `first sunday of quarter 00:00`.
string default_schedule = 10;- Specified by:
getDefaultScheduleBytesin interfaceDataSourceOrBuilder- Returns:
- The bytes for defaultSchedule.
-
getSupportsCustomSchedule
public boolean getSupportsCustomSchedule()Specifies whether the data source supports a user defined schedule, or operates on the default schedule. When set to `true`, user can override default schedule.
bool supports_custom_schedule = 11;- Specified by:
getSupportsCustomSchedulein interfaceDataSourceOrBuilder- Returns:
- The supportsCustomSchedule.
-
getParametersList
Data source parameters.
repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12;- Specified by:
getParametersListin interfaceDataSourceOrBuilder
-
getParametersOrBuilderList
Data source parameters.
repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12;- Specified by:
getParametersOrBuilderListin interfaceDataSourceOrBuilder
-
getParametersCount
public int getParametersCount()Data source parameters.
repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12;- Specified by:
getParametersCountin interfaceDataSourceOrBuilder
-
getParameters
Data source parameters.
repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12;- Specified by:
getParametersin interfaceDataSourceOrBuilder
-
getParametersOrBuilder
Data source parameters.
repeated .google.cloud.bigquery.datatransfer.v1.DataSourceParameter parameters = 12;- Specified by:
getParametersOrBuilderin interfaceDataSourceOrBuilder
-
getHelpUrl
Url for the help document for this data source.
string help_url = 13;- Specified by:
getHelpUrlin interfaceDataSourceOrBuilder- Returns:
- The helpUrl.
-
getHelpUrlBytes
public com.google.protobuf.ByteString getHelpUrlBytes()Url for the help document for this data source.
string help_url = 13;- Specified by:
getHelpUrlBytesin interfaceDataSourceOrBuilder- Returns:
- The bytes for helpUrl.
-
getAuthorizationTypeValue
public int getAuthorizationTypeValue()Indicates the type of authorization.
.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14;- Specified by:
getAuthorizationTypeValuein interfaceDataSourceOrBuilder- Returns:
- The enum numeric value on the wire for authorizationType.
-
getAuthorizationType
Indicates the type of authorization.
.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14;- Specified by:
getAuthorizationTypein interfaceDataSourceOrBuilder- Returns:
- The authorizationType.
-
getDataRefreshTypeValue
public int getDataRefreshTypeValue()Specifies whether the data source supports automatic data refresh for the past few days, and how it's supported. For some data sources, data might not be complete until a few days later, so it's useful to refresh data automatically.
.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15;- Specified by:
getDataRefreshTypeValuein interfaceDataSourceOrBuilder- Returns:
- The enum numeric value on the wire for dataRefreshType.
-
getDataRefreshType
Specifies whether the data source supports automatic data refresh for the past few days, and how it's supported. For some data sources, data might not be complete until a few days later, so it's useful to refresh data automatically.
.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15;- Specified by:
getDataRefreshTypein interfaceDataSourceOrBuilder- Returns:
- The dataRefreshType.
-
getDefaultDataRefreshWindowDays
public int getDefaultDataRefreshWindowDays()Default data refresh window on days. Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
int32 default_data_refresh_window_days = 16;- Specified by:
getDefaultDataRefreshWindowDaysin interfaceDataSourceOrBuilder- Returns:
- The defaultDataRefreshWindowDays.
-
getManualRunsDisabled
public boolean getManualRunsDisabled()Disables backfilling and manual run scheduling for the data source.
bool manual_runs_disabled = 17;- Specified by:
getManualRunsDisabledin interfaceDataSourceOrBuilder- Returns:
- The manualRunsDisabled.
-
hasMinimumScheduleInterval
public boolean hasMinimumScheduleInterval()The minimum interval for scheduler to schedule runs.
.google.protobuf.Duration minimum_schedule_interval = 18;- Specified by:
hasMinimumScheduleIntervalin interfaceDataSourceOrBuilder- Returns:
- Whether the minimumScheduleInterval field is set.
-
getMinimumScheduleInterval
public com.google.protobuf.Duration getMinimumScheduleInterval()The minimum interval for scheduler to schedule runs.
.google.protobuf.Duration minimum_schedule_interval = 18;- Specified by:
getMinimumScheduleIntervalin interfaceDataSourceOrBuilder- Returns:
- The minimumScheduleInterval.
-
getMinimumScheduleIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getMinimumScheduleIntervalOrBuilder()The minimum interval for scheduler to schedule runs.
.google.protobuf.Duration minimum_schedule_interval = 18;- Specified by:
getMinimumScheduleIntervalOrBuilderin interfaceDataSourceOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DataSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DataSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DataSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DataSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataSource.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-