Class ExclusionWindow.DayOfWeekList (0.41.0)

public static final class ExclusionWindow.DayOfWeekList extends GeneratedMessageV3 implements ExclusionWindow.DayOfWeekListOrBuilder

Holds repeated DaysOfWeek values as a container.

Protobuf type google.cloud.gkebackup.v1.ExclusionWindow.DayOfWeekList

Static Fields

DAYS_OF_WEEK_FIELD_NUMBER

public static final int DAYS_OF_WEEK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExclusionWindow.DayOfWeekList getDefaultInstance()
Returns
Type Description
ExclusionWindow.DayOfWeekList

getDescriptor()

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

newBuilder()

public static ExclusionWindow.DayOfWeekList.Builder newBuilder()
Returns
Type Description
ExclusionWindow.DayOfWeekList.Builder

newBuilder(ExclusionWindow.DayOfWeekList prototype)

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

parseDelimitedFrom(InputStream input)

public static ExclusionWindow.DayOfWeekList parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExclusionWindow.DayOfWeekList
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ExclusionWindow.DayOfWeekList parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExclusionWindow.DayOfWeekList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ExclusionWindow.DayOfWeekList parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExclusionWindow.DayOfWeekList
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ExclusionWindow.DayOfWeekList parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExclusionWindow.DayOfWeekList
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ExclusionWindow.DayOfWeekList parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExclusionWindow.DayOfWeekList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ExclusionWindow.DayOfWeekList> parser()
Returns
Type Description
Parser<DayOfWeekList>

Methods

equals(Object obj)

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

getDaysOfWeek(int index)

public DayOfWeek getDaysOfWeek(int index)

Optional. A list of days of week.

repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
com.google.type.DayOfWeek

The daysOfWeek at the given index.

getDaysOfWeekCount()

public int getDaysOfWeekCount()

Optional. A list of days of week.

repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of daysOfWeek.

getDaysOfWeekList()

public List<DayOfWeek> getDaysOfWeekList()

Optional. A list of days of week.

repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<com.google.type.DayOfWeek>

A list containing the daysOfWeek.

getDaysOfWeekValue(int index)

public int getDaysOfWeekValue(int index)

Optional. A list of days of week.

repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of daysOfWeek at the given index.

getDaysOfWeekValueList()

public List<Integer> getDaysOfWeekValueList()

Optional. A list of days of week.

repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for daysOfWeek.

getDefaultInstanceForType()

public ExclusionWindow.DayOfWeekList getDefaultInstanceForType()
Returns
Type Description
ExclusionWindow.DayOfWeekList

getParserForType()

public Parser<ExclusionWindow.DayOfWeekList> getParserForType()
Returns
Type Description
Parser<DayOfWeekList>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 ExclusionWindow.DayOfWeekList.Builder newBuilderForType()
Returns
Type Description
ExclusionWindow.DayOfWeekList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ExclusionWindow.DayOfWeekList.Builder toBuilder()
Returns
Type Description
ExclusionWindow.DayOfWeekList.Builder

writeTo(CodedOutputStream output)

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