Interface FileInputOrBuilder (0.10.0)

public interface FileInputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFetchSettings()

public abstract FileInput.FetchSettings getFetchSettings()

Optional. Fetch details to deliver the data source. It contains settings for FETCH and GOOGLE_SHEETS file input types. The required fields vary based on the frequency of fetching.

.google.shopping.merchant.datasources.v1beta.FileInput.FetchSettings fetch_settings = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FileInput.FetchSettings

The fetchSettings.

getFetchSettingsOrBuilder()

public abstract FileInput.FetchSettingsOrBuilder getFetchSettingsOrBuilder()

Optional. Fetch details to deliver the data source. It contains settings for FETCH and GOOGLE_SHEETS file input types. The required fields vary based on the frequency of fetching.

.google.shopping.merchant.datasources.v1beta.FileInput.FetchSettings fetch_settings = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FileInput.FetchSettingsOrBuilder

getFileInputType()

public abstract FileInput.FileInputType getFileInputType()

Output only. The type of file input.

.google.shopping.merchant.datasources.v1beta.FileInput.FileInputType file_input_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FileInput.FileInputType

The fileInputType.

getFileInputTypeValue()

public abstract int getFileInputTypeValue()

Output only. The type of file input.

.google.shopping.merchant.datasources.v1beta.FileInput.FileInputType file_input_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for fileInputType.

getFileName()

public abstract String getFileName()

Optional. The file name of the data source. Required for UPLOAD file input type.

string file_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The fileName.

getFileNameBytes()

public abstract ByteString getFileNameBytes()

Optional. The file name of the data source. Required for UPLOAD file input type.

string file_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for fileName.

hasFetchSettings()

public abstract boolean hasFetchSettings()

Optional. Fetch details to deliver the data source. It contains settings for FETCH and GOOGLE_SHEETS file input types. The required fields vary based on the frequency of fetching.

.google.shopping.merchant.datasources.v1beta.FileInput.FetchSettings fetch_settings = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the fetchSettings field is set.