public static final class FileInput.FetchSettings extends GeneratedMessageV3 implements FileInput.FetchSettingsOrBuilder
Fetch details to deliver the data source.
Protobuf type google.shopping.merchant.datasources.v1beta.FileInput.FetchSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int DAY_OF_MONTH_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DAY_OF_WEEK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ENABLED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int FETCH_URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int FREQUENCY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PASSWORD_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TIME_OF_DAY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TIME_ZONE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int USERNAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static FileInput.FetchSettings getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static FileInput.FetchSettings.Builder newBuilder()
public static FileInput.FetchSettings.Builder newBuilder(FileInput.FetchSettings prototype)
public static FileInput.FetchSettings parseDelimitedFrom(InputStream input)
public static FileInput.FetchSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FileInput.FetchSettings parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static FileInput.FetchSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FileInput.FetchSettings parseFrom(ByteString data)
public static FileInput.FetchSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FileInput.FetchSettings parseFrom(CodedInputStream input)
public static FileInput.FetchSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FileInput.FetchSettings parseFrom(InputStream input)
public static FileInput.FetchSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FileInput.FetchSettings parseFrom(ByteBuffer data)
public static FileInput.FetchSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<FileInput.FetchSettings> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public int getDayOfMonth()
Optional. The day of the month when the data source file should be
fetched (1-31). This field can only be set for monthly frequency.
int32 day_of_month = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The dayOfMonth.
|
public DayOfWeek getDayOfWeek()
Optional. The day of the week when the data source file should be
fetched. This field can only be set for weekly frequency.
.google.type.DayOfWeek day_of_week = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
com.google.type.DayOfWeek |
The dayOfWeek.
|
public int getDayOfWeekValue()
Optional. The day of the week when the data source file should be
fetched. This field can only be set for weekly frequency.
.google.type.DayOfWeek day_of_week = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for dayOfWeek.
|
public FileInput.FetchSettings getDefaultInstanceForType()
public boolean getEnabled()
Optional. Enables or pauses the fetch schedule.
bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The enabled.
|
public String getFetchUri()
Optional. The URL where the data source file can be fetched. Google
Merchant Center supports automatic scheduled uploads using the HTTP,
HTTPS or SFTP protocols, so the value will need to be a valid link using
one of those three protocols. Immutable for Google Sheets files.
string fetch_uri = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The fetchUri.
|
public ByteString getFetchUriBytes()
Optional. The URL where the data source file can be fetched. Google
Merchant Center supports automatic scheduled uploads using the HTTP,
HTTPS or SFTP protocols, so the value will need to be a valid link using
one of those three protocols. Immutable for Google Sheets files.
string fetch_uri = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for fetchUri.
|
public FileInput.FetchSettings.Frequency getFrequency()
Required. The frequency describing fetch schedule.
.google.shopping.merchant.datasources.v1beta.FileInput.FetchSettings.Frequency frequency = 6 [(.google.api.field_behavior) = REQUIRED];
public int getFrequencyValue()
Required. The frequency describing fetch schedule.
.google.shopping.merchant.datasources.v1beta.FileInput.FetchSettings.Frequency frequency = 6 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for frequency.
|
public Parser<FileInput.FetchSettings> getParserForType()
Overrides
public String getPassword()
Returns |
Type |
Description |
String |
The password.
|
public ByteString getPasswordBytes()
Returns |
Type |
Description |
ByteString |
The bytes for password.
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public TimeOfDay getTimeOfDay()
Optional. The hour of the day when the data source file should be
fetched. Minutes and seconds are not supported and will be ignored.
.google.type.TimeOfDay time_of_day = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
com.google.type.TimeOfDay |
The timeOfDay.
|
public TimeOfDayOrBuilder getTimeOfDayOrBuilder()
Optional. The hour of the day when the data source file should be
fetched. Minutes and seconds are not supported and will be ignored.
.google.type.TimeOfDay time_of_day = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
com.google.type.TimeOfDayOrBuilder |
|
public String getTimeZone()
Optional. Time zone used for schedule. UTC by
default. For example, "America/Los_Angeles".
string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The timeZone.
|
public ByteString getTimeZoneBytes()
Optional. Time zone used for schedule. UTC by
default. For example, "America/Los_Angeles".
string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for timeZone.
|
public String getUsername()
Returns |
Type |
Description |
String |
The username.
|
public ByteString getUsernameBytes()
Returns |
Type |
Description |
ByteString |
The bytes for username.
|
public boolean hasTimeOfDay()
Optional. The hour of the day when the data source file should be
fetched. Minutes and seconds are not supported and will be ignored.
.google.type.TimeOfDay time_of_day = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the timeOfDay field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public FileInput.FetchSettings.Builder newBuilderForType()
protected FileInput.FetchSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public FileInput.FetchSettings.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides