Class ExclusionWindow.DayOfWeekList (0.38.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ExclusionWindow.DayOfWeekList getDefaultInstance()
Returns
TypeDescription
ExclusionWindow.DayOfWeekList

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ExclusionWindow.DayOfWeekList.Builder newBuilder()
Returns
TypeDescription
ExclusionWindow.DayOfWeekList.Builder

newBuilder(ExclusionWindow.DayOfWeekList prototype)

public static ExclusionWindow.DayOfWeekList.Builder newBuilder(ExclusionWindow.DayOfWeekList prototype)
Parameter
NameDescription
prototypeExclusionWindow.DayOfWeekList
Returns
TypeDescription
ExclusionWindow.DayOfWeekList.Builder

parseDelimitedFrom(InputStream input)

public static ExclusionWindow.DayOfWeekList parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExclusionWindow.DayOfWeekList
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExclusionWindow.DayOfWeekList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExclusionWindow.DayOfWeekList
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ExclusionWindow.DayOfWeekList parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ExclusionWindow.DayOfWeekList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExclusionWindow.DayOfWeekList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExclusionWindow.DayOfWeekList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExclusionWindow.DayOfWeekList parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ExclusionWindow.DayOfWeekList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExclusionWindow.DayOfWeekList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExclusionWindow.DayOfWeekList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExclusionWindow.DayOfWeekList parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ExclusionWindow.DayOfWeekList
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExclusionWindow.DayOfWeekList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExclusionWindow.DayOfWeekList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ExclusionWindow.DayOfWeekList parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExclusionWindow.DayOfWeekList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExclusionWindow.DayOfWeekList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExclusionWindow.DayOfWeekList
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ExclusionWindow.DayOfWeekList parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ExclusionWindow.DayOfWeekList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExclusionWindow.DayOfWeekList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExclusionWindow.DayOfWeekList
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
List<Integer>

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

getDefaultInstanceForType()

public ExclusionWindow.DayOfWeekList getDefaultInstanceForType()
Returns
TypeDescription
ExclusionWindow.DayOfWeekList

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ExclusionWindow.DayOfWeekList.Builder newBuilderForType()
Returns
TypeDescription
ExclusionWindow.DayOfWeekList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExclusionWindow.DayOfWeekList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ExclusionWindow.DayOfWeekList.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ExclusionWindow.DayOfWeekList.Builder toBuilder()
Returns
TypeDescription
ExclusionWindow.DayOfWeekList.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException