Class FrequencyOptions (0.18.0)

public final class FrequencyOptions extends GeneratedMessageV3 implements FrequencyOptionsOrBuilder

ReportConfig Resource:

Options to setup frequency of report generation.

Protobuf type google.cloud.storageinsights.v1.FrequencyOptions

Static Fields

END_DATE_FIELD_NUMBER

public static final int END_DATE_FIELD_NUMBER
Field Value
Type Description
int

FREQUENCY_FIELD_NUMBER

public static final int FREQUENCY_FIELD_NUMBER
Field Value
Type Description
int

START_DATE_FIELD_NUMBER

public static final int START_DATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FrequencyOptions getDefaultInstance()
Returns
Type Description
FrequencyOptions

getDescriptor()

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

newBuilder()

public static FrequencyOptions.Builder newBuilder()
Returns
Type Description
FrequencyOptions.Builder

newBuilder(FrequencyOptions prototype)

public static FrequencyOptions.Builder newBuilder(FrequencyOptions prototype)
Parameter
Name Description
prototype FrequencyOptions
Returns
Type Description
FrequencyOptions.Builder

parseDelimitedFrom(InputStream input)

public static FrequencyOptions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FrequencyOptions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FrequencyOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FrequencyOptions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FrequencyOptions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FrequencyOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FrequencyOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FrequencyOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FrequencyOptions parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FrequencyOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FrequencyOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FrequencyOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FrequencyOptions parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FrequencyOptions
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FrequencyOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FrequencyOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FrequencyOptions parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FrequencyOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FrequencyOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FrequencyOptions
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FrequencyOptions parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FrequencyOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FrequencyOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FrequencyOptions
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FrequencyOptions> parser()
Returns
Type Description
Parser<FrequencyOptions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FrequencyOptions getDefaultInstanceForType()
Returns
Type Description
FrequencyOptions

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.

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.

getParserForType()

public Parser<FrequencyOptions> getParserForType()
Returns
Type Description
Parser<FrequencyOptions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FrequencyOptions.Builder newBuilderForType()
Returns
Type Description
FrequencyOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FrequencyOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FrequencyOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FrequencyOptions.Builder toBuilder()
Returns
Type Description
FrequencyOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException