Class FrequencyOptions.Builder (0.2.0)

public static final class FrequencyOptions.Builder extends GeneratedMessageV3.Builder<FrequencyOptions.Builder> implements FrequencyOptionsOrBuilder

ReportConfig Resource: Options to setup frequency of report generation.

Protobuf type google.cloud.storageinsights.v1.FrequencyOptions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FrequencyOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FrequencyOptions.Builder
Overrides

build()

public FrequencyOptions build()
Returns
Type Description
FrequencyOptions

buildPartial()

public FrequencyOptions buildPartial()
Returns
Type Description
FrequencyOptions

clear()

public FrequencyOptions.Builder clear()
Returns
Type Description
FrequencyOptions.Builder
Overrides

clearEndDate()

public FrequencyOptions.Builder clearEndDate()

The date on which report generation should stop (Inclusive). UTC time zone.

.google.type.Date end_date = 3;

Returns
Type Description
FrequencyOptions.Builder

clearField(Descriptors.FieldDescriptor field)

public FrequencyOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FrequencyOptions.Builder
Overrides

clearFrequency()

public FrequencyOptions.Builder clearFrequency()

Frequency of report generation.

.google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1;

Returns
Type Description
FrequencyOptions.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FrequencyOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FrequencyOptions.Builder
Overrides

clearStartDate()

public FrequencyOptions.Builder clearStartDate()

The date from which report generation should start. UTC time zone.

.google.type.Date start_date = 2;

Returns
Type Description
FrequencyOptions.Builder

clone()

public FrequencyOptions.Builder clone()
Returns
Type Description
FrequencyOptions.Builder
Overrides

getDefaultInstanceForType()

public FrequencyOptions getDefaultInstanceForType()
Returns
Type Description
FrequencyOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndDate()

public Date getEndDate()

The date on which report generation should stop (Inclusive). UTC time zone.

.google.type.Date end_date = 3;

Returns
Type Description
com.google.type.Date

The endDate.

getEndDateBuilder()

public Date.Builder getEndDateBuilder()

The date on which report generation should stop (Inclusive). UTC time zone.

.google.type.Date end_date = 3;

Returns
Type Description
com.google.type.Date.Builder

getEndDateOrBuilder()

public DateOrBuilder getEndDateOrBuilder()

The date on which report generation should stop (Inclusive). UTC time zone.

.google.type.Date end_date = 3;

Returns
Type Description
com.google.type.DateOrBuilder

getFrequency()

public FrequencyOptions.Frequency getFrequency()

Frequency of report generation.

.google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1;

Returns
Type Description
FrequencyOptions.Frequency

The frequency.

getFrequencyValue()

public int getFrequencyValue()

Frequency of report generation.

.google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1;

Returns
Type Description
int

The enum numeric value on the wire for frequency.

getStartDate()

public Date getStartDate()

The date from which report generation should start. UTC time zone.

.google.type.Date start_date = 2;

Returns
Type Description
com.google.type.Date

The startDate.

getStartDateBuilder()

public Date.Builder getStartDateBuilder()

The date from which report generation should start. UTC time zone.

.google.type.Date start_date = 2;

Returns
Type Description
com.google.type.Date.Builder

getStartDateOrBuilder()

public DateOrBuilder getStartDateOrBuilder()

The date from which report generation should start. UTC time zone.

.google.type.Date start_date = 2;

Returns
Type Description
com.google.type.DateOrBuilder

hasEndDate()

public boolean hasEndDate()

The date on which report generation should stop (Inclusive). UTC time zone.

.google.type.Date end_date = 3;

Returns
Type Description
boolean

Whether the endDate field is set.

hasStartDate()

public boolean hasStartDate()

The date from which report generation should start. UTC time zone.

.google.type.Date start_date = 2;

Returns
Type Description
boolean

Whether the startDate field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndDate(Date value)

public FrequencyOptions.Builder mergeEndDate(Date value)

The date on which report generation should stop (Inclusive). UTC time zone.

.google.type.Date end_date = 3;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
FrequencyOptions.Builder

mergeFrom(FrequencyOptions other)

public FrequencyOptions.Builder mergeFrom(FrequencyOptions other)
Parameter
Name Description
other FrequencyOptions
Returns
Type Description
FrequencyOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FrequencyOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FrequencyOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FrequencyOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FrequencyOptions.Builder
Overrides

mergeStartDate(Date value)

public FrequencyOptions.Builder mergeStartDate(Date value)

The date from which report generation should start. UTC time zone.

.google.type.Date start_date = 2;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
FrequencyOptions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FrequencyOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FrequencyOptions.Builder
Overrides

setEndDate(Date value)

public FrequencyOptions.Builder setEndDate(Date value)

The date on which report generation should stop (Inclusive). UTC time zone.

.google.type.Date end_date = 3;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
FrequencyOptions.Builder

setEndDate(Date.Builder builderForValue)

public FrequencyOptions.Builder setEndDate(Date.Builder builderForValue)

The date on which report generation should stop (Inclusive). UTC time zone.

.google.type.Date end_date = 3;

Parameter
Name Description
builderForValue com.google.type.Date.Builder
Returns
Type Description
FrequencyOptions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FrequencyOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FrequencyOptions.Builder
Overrides

setFrequency(FrequencyOptions.Frequency value)

public FrequencyOptions.Builder setFrequency(FrequencyOptions.Frequency value)

Frequency of report generation.

.google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1;

Parameter
Name Description
value FrequencyOptions.Frequency

The frequency to set.

Returns
Type Description
FrequencyOptions.Builder

This builder for chaining.

setFrequencyValue(int value)

public FrequencyOptions.Builder setFrequencyValue(int value)

Frequency of report generation.

.google.cloud.storageinsights.v1.FrequencyOptions.Frequency frequency = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for frequency to set.

Returns
Type Description
FrequencyOptions.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FrequencyOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FrequencyOptions.Builder
Overrides

setStartDate(Date value)

public FrequencyOptions.Builder setStartDate(Date value)

The date from which report generation should start. UTC time zone.

.google.type.Date start_date = 2;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
FrequencyOptions.Builder

setStartDate(Date.Builder builderForValue)

public FrequencyOptions.Builder setStartDate(Date.Builder builderForValue)

The date from which report generation should start. UTC time zone.

.google.type.Date start_date = 2;

Parameter
Name Description
builderForValue com.google.type.Date.Builder
Returns
Type Description
FrequencyOptions.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final FrequencyOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FrequencyOptions.Builder
Overrides