Class RecurringTimeWindow (0.11.0)

publicfinalclass RecurringTimeWindowextendsGeneratedMessageV3implementsRecurringTimeWindowOrBuilder

Represents an arbitrary window of time that recurs.

Protobuf type google.cloud.edgecontainer.v1.RecurringTimeWindow

Inherited Members

Static Fields

RECURRENCE_FIELD_NUMBER

publicstaticfinalintRECURRENCE_FIELD_NUMBER
Field Value
Type Description
int

WINDOW_FIELD_NUMBER

publicstaticfinalintWINDOW_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticRecurringTimeWindowgetDefaultInstance()
Returns
Type Description
RecurringTimeWindow

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticRecurringTimeWindow.BuildernewBuilder()
Returns
Type Description
RecurringTimeWindow.Builder

newBuilder(RecurringTimeWindow prototype)

publicstaticRecurringTimeWindow.BuildernewBuilder(RecurringTimeWindowprototype)
Parameter
Name Description
prototype RecurringTimeWindow
Returns
Type Description
RecurringTimeWindow.Builder

parseDelimitedFrom(InputStream input)

publicstaticRecurringTimeWindowparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
RecurringTimeWindow
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticRecurringTimeWindowparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecurringTimeWindow
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticRecurringTimeWindowparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
RecurringTimeWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticRecurringTimeWindowparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecurringTimeWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticRecurringTimeWindowparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
RecurringTimeWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticRecurringTimeWindowparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecurringTimeWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticRecurringTimeWindowparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RecurringTimeWindow
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticRecurringTimeWindowparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecurringTimeWindow
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticRecurringTimeWindowparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
RecurringTimeWindow
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticRecurringTimeWindowparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecurringTimeWindow
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticRecurringTimeWindowparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RecurringTimeWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticRecurringTimeWindowparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecurringTimeWindow
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<RecurringTimeWindow>parser()
Returns
Type Description
Parser<RecurringTimeWindow>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicRecurringTimeWindowgetDefaultInstanceForType()
Returns
Type Description
RecurringTimeWindow

getParserForType()

publicParser<RecurringTimeWindow>getParserForType()
Returns
Type Description
Parser<RecurringTimeWindow>
Overrides

getRecurrence()

publicStringgetRecurrence()

An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window recurs. They go on for the span of time between the start and end time.

string recurrence = 2;

Returns
Type Description
String

The recurrence.

getRecurrenceBytes()

publicByteStringgetRecurrenceBytes()

An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window recurs. They go on for the span of time between the start and end time.

string recurrence = 2;

Returns
Type Description
ByteString

The bytes for recurrence.

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

publicfinalUnknownFieldSetgetUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

getWindow()

publicTimeWindowgetWindow()

The window of the first recurrence.

.google.cloud.edgecontainer.v1.TimeWindow window = 1;

Returns
Type Description
TimeWindow

The window.

getWindowOrBuilder()

publicTimeWindowOrBuildergetWindowOrBuilder()

The window of the first recurrence.

.google.cloud.edgecontainer.v1.TimeWindow window = 1;

Returns
Type Description
TimeWindowOrBuilder

hasWindow()

publicbooleanhasWindow()

The window of the first recurrence.

.google.cloud.edgecontainer.v1.TimeWindow window = 1;

Returns
Type Description
boolean

Whether the window field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicRecurringTimeWindow.BuildernewBuilderForType()
Returns
Type Description
RecurringTimeWindow.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedRecurringTimeWindow.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RecurringTimeWindow.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicRecurringTimeWindow.BuildertoBuilder()
Returns
Type Description
RecurringTimeWindow.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.