public static final class FileInput.Builder extends GeneratedMessage.Builder<FileInput.Builder> implements FileInputOrBuilderThe data specific for file data sources. This field is empty for other data source inputs.
Protobuf type google.shopping.merchant.datasources.v1beta.FileInput
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FileInput.BuilderImplements
FileInputOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FileInput build()| Returns | |
|---|---|
| Type | Description |
FileInput |
|
buildPartial()
public FileInput buildPartial()| Returns | |
|---|---|
| Type | Description |
FileInput |
|
clear()
public FileInput.Builder clear()| Returns | |
|---|---|
| Type | Description |
FileInput.Builder |
|
clearFetchSettings()
public FileInput.Builder clearFetchSettings() 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.Builder |
|
clearFileInputType()
public FileInput.Builder clearFileInputType()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.Builder |
This builder for chaining. |
clearFileName()
public FileInput.Builder clearFileName() 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 |
FileInput.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FileInput getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FileInput |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFetchSettings()
public 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. |
getFetchSettingsBuilder()
public FileInput.FetchSettings.Builder getFetchSettingsBuilder() 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.Builder |
|
getFetchSettingsOrBuilder()
public 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFetchSettings(FileInput.FetchSettings value)
public FileInput.Builder mergeFetchSettings(FileInput.FetchSettings value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
FileInput.FetchSettings |
| Returns | |
|---|---|
| Type | Description |
FileInput.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FileInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FileInput.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FileInput.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FileInput.Builder |
|
mergeFrom(FileInput other)
public FileInput.Builder mergeFrom(FileInput other)| Parameter | |
|---|---|
| Name | Description |
other |
FileInput |
| Returns | |
|---|---|
| Type | Description |
FileInput.Builder |
|
setFetchSettings(FileInput.FetchSettings value)
public FileInput.Builder setFetchSettings(FileInput.FetchSettings value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
FileInput.FetchSettings |
| Returns | |
|---|---|
| Type | Description |
FileInput.Builder |
|
setFetchSettings(FileInput.FetchSettings.Builder builderForValue)
public FileInput.Builder setFetchSettings(FileInput.FetchSettings.Builder builderForValue) 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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FileInput.FetchSettings.Builder |
| Returns | |
|---|---|
| Type | Description |
FileInput.Builder |
|
setFileInputType(FileInput.FileInputType value)
public FileInput.Builder setFileInputType(FileInput.FileInputType value)Output only. The type of file input.
.google.shopping.merchant.datasources.v1beta.FileInput.FileInputType file_input_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
FileInput.FileInputTypeThe fileInputType to set. |
| Returns | |
|---|---|
| Type | Description |
FileInput.Builder |
This builder for chaining. |
setFileInputTypeValue(int value)
public FileInput.Builder setFileInputTypeValue(int value)Output only. The type of file input.
.google.shopping.merchant.datasources.v1beta.FileInput.FileInputType file_input_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for fileInputType to set. |
| Returns | |
|---|---|
| Type | Description |
FileInput.Builder |
This builder for chaining. |
setFileName(String value)
public FileInput.Builder setFileName(String value) Optional. The file name of the data source. Required for UPLOAD file
input type.
string file_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe fileName to set. |
| Returns | |
|---|---|
| Type | Description |
FileInput.Builder |
This builder for chaining. |
setFileNameBytes(ByteString value)
public FileInput.Builder setFileNameBytes(ByteString value) Optional. The file name of the data source. Required for UPLOAD file
input type.
string file_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for fileName to set. |
| Returns | |
|---|---|
| Type | Description |
FileInput.Builder |
This builder for chaining. |