Class ScheduleEventData.Builder (0.16.0)

public static final class ScheduleEventData.Builder extends GeneratedMessageV3.Builder<ScheduleEventData.Builder> implements ScheduleEventDataOrBuilder

The data within all Schedule events.

Protobuf type google.events.cloud.notebooks.v1.ScheduleEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ScheduleEventData build()
Returns
Type Description
ScheduleEventData

buildPartial()

public ScheduleEventData buildPartial()
Returns
Type Description
ScheduleEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public ScheduleEventData.Builder clearPayload()

Optional. The Schedule event payload. Unset for deletion events.

optional .google.events.cloud.notebooks.v1.Schedule payload = 1;

Returns
Type Description
ScheduleEventData.Builder

clone()

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

getDefaultInstanceForType()

public ScheduleEventData getDefaultInstanceForType()
Returns
Type Description
ScheduleEventData

getDescriptorForType()

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

getPayload()

public Schedule getPayload()

Optional. The Schedule event payload. Unset for deletion events.

optional .google.events.cloud.notebooks.v1.Schedule payload = 1;

Returns
Type Description
Schedule

The payload.

getPayloadBuilder()

public Schedule.Builder getPayloadBuilder()

Optional. The Schedule event payload. Unset for deletion events.

optional .google.events.cloud.notebooks.v1.Schedule payload = 1;

Returns
Type Description
Schedule.Builder

getPayloadOrBuilder()

public ScheduleOrBuilder getPayloadOrBuilder()

Optional. The Schedule event payload. Unset for deletion events.

optional .google.events.cloud.notebooks.v1.Schedule payload = 1;

Returns
Type Description
ScheduleOrBuilder

hasPayload()

public boolean hasPayload()

Optional. The Schedule event payload. Unset for deletion events.

optional .google.events.cloud.notebooks.v1.Schedule payload = 1;

Returns
Type Description
boolean

Whether the payload field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ScheduleEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Schedule value)

public ScheduleEventData.Builder mergePayload(Schedule value)

Optional. The Schedule event payload. Unset for deletion events.

optional .google.events.cloud.notebooks.v1.Schedule payload = 1;

Parameter
Name Description
value Schedule
Returns
Type Description
ScheduleEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Schedule value)

public ScheduleEventData.Builder setPayload(Schedule value)

Optional. The Schedule event payload. Unset for deletion events.

optional .google.events.cloud.notebooks.v1.Schedule payload = 1;

Parameter
Name Description
value Schedule
Returns
Type Description
ScheduleEventData.Builder

setPayload(Schedule.Builder builderForValue)

public ScheduleEventData.Builder setPayload(Schedule.Builder builderForValue)

Optional. The Schedule event payload. Unset for deletion events.

optional .google.events.cloud.notebooks.v1.Schedule payload = 1;

Parameter
Name Description
builderForValue Schedule.Builder
Returns
Type Description
ScheduleEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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