Class Event.Builder (1.0.6)

public static final class Event.Builder extends GeneratedMessageV3.Builder<Event.Builder> implements EventOrBuilder

The definition of an Event for a managed / semi-managed notebook instance.

Protobuf type google.cloud.notebooks.v1.Event

Implements

EventOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Event build()
Returns
Type Description
Event

buildPartial()

public Event buildPartial()
Returns
Type Description
Event

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReportTime()

public Event.Builder clearReportTime()

Event report time.

.google.protobuf.Timestamp report_time = 1;

Returns
Type Description
Event.Builder

clearType()

public Event.Builder clearType()

Event type.

.google.cloud.notebooks.v1.Event.EventType type = 2;

Returns
Type Description
Event.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Event getDefaultInstanceForType()
Returns
Type Description
Event

getDescriptorForType()

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

getReportTime()

public Timestamp getReportTime()

Event report time.

.google.protobuf.Timestamp report_time = 1;

Returns
Type Description
Timestamp

The reportTime.

getReportTimeBuilder()

public Timestamp.Builder getReportTimeBuilder()

Event report time.

.google.protobuf.Timestamp report_time = 1;

Returns
Type Description
Builder

getReportTimeOrBuilder()

public TimestampOrBuilder getReportTimeOrBuilder()

Event report time.

.google.protobuf.Timestamp report_time = 1;

Returns
Type Description
TimestampOrBuilder

getType()

public Event.EventType getType()

Event type.

.google.cloud.notebooks.v1.Event.EventType type = 2;

Returns
Type Description
Event.EventType

The type.

getTypeValue()

public int getTypeValue()

Event type.

.google.cloud.notebooks.v1.Event.EventType type = 2;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasReportTime()

public boolean hasReportTime()

Event report time.

.google.protobuf.Timestamp report_time = 1;

Returns
Type Description
boolean

Whether the reportTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Event other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeReportTime(Timestamp value)

public Event.Builder mergeReportTime(Timestamp value)

Event report time.

.google.protobuf.Timestamp report_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
Event.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setReportTime(Timestamp value)

public Event.Builder setReportTime(Timestamp value)

Event report time.

.google.protobuf.Timestamp report_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
Event.Builder

setReportTime(Timestamp.Builder builderForValue)

public Event.Builder setReportTime(Timestamp.Builder builderForValue)

Event report time.

.google.protobuf.Timestamp report_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Event.Builder

setType(Event.EventType value)

public Event.Builder setType(Event.EventType value)

Event type.

.google.cloud.notebooks.v1.Event.EventType type = 2;

Parameter
Name Description
value Event.EventType

The type to set.

Returns
Type Description
Event.Builder

This builder for chaining.

setTypeValue(int value)

public Event.Builder setTypeValue(int value)

Event type.

.google.cloud.notebooks.v1.Event.EventType type = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
Event.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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