Class ScheduleEventData.Builder (0.14.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ScheduleEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ScheduleEventData.Builder
Overrides

build()

public ScheduleEventData build()
Returns
TypeDescription
ScheduleEventData

buildPartial()

public ScheduleEventData buildPartial()
Returns
TypeDescription
ScheduleEventData

clear()

public ScheduleEventData.Builder clear()
Returns
TypeDescription
ScheduleEventData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ScheduleEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ScheduleEventData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ScheduleEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ScheduleEventData.Builder

clone()

public ScheduleEventData.Builder clone()
Returns
TypeDescription
ScheduleEventData.Builder
Overrides

getDefaultInstanceForType()

public ScheduleEventData getDefaultInstanceForType()
Returns
TypeDescription
ScheduleEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ScheduleOrBuilder

hasPayload()

public boolean hasPayload()

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

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

Returns
TypeDescription
boolean

Whether the payload field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ScheduleEventData other)

public ScheduleEventData.Builder mergeFrom(ScheduleEventData other)
Parameter
NameDescription
otherScheduleEventData
Returns
TypeDescription
ScheduleEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ScheduleEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScheduleEventData.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ScheduleEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSchedule
Returns
TypeDescription
ScheduleEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ScheduleEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ScheduleEventData.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ScheduleEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSchedule
Returns
TypeDescription
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
NameDescription
builderForValueSchedule.Builder
Returns
TypeDescription
ScheduleEventData.Builder

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

public ScheduleEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ScheduleEventData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ScheduleEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ScheduleEventData.Builder
Overrides