public static final class FileInput.Builder extends GeneratedMessageV3.Builder<FileInput.Builder> implements FileInputOrBuilder
The data specific for file data sources. This field is empty for other
data source inputs.
Protobuf type google.shopping.merchant.datasources.v1beta.FileInput
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public FileInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public FileInput buildPartial()
public FileInput.Builder clear()
Overrides
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];
public FileInput.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
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];
public FileInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public FileInput.Builder clone()
Overrides
public FileInput getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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];
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];
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];
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.
|
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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];
public FileInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public FileInput.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public FileInput.Builder mergeFrom(FileInput other)
public final FileInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
public FileInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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 |
int
The enum numeric value on the wire for fileInputType to set.
|
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 |
String
The fileName to set.
|
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 |
ByteString
The bytes for fileName to set.
|
public FileInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final FileInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides