Class RuntimeEventData.Builder (0.15.0)

public static final class RuntimeEventData.Builder extends GeneratedMessageV3.Builder<RuntimeEventData.Builder> implements RuntimeEventDataOrBuilder

The data within all Runtime events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RuntimeEventData build()
Returns
Type Description
RuntimeEventData

buildPartial()

public RuntimeEventData buildPartial()
Returns
Type Description
RuntimeEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public RuntimeEventData.Builder clearPayload()

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

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

Returns
Type Description
RuntimeEventData.Builder

clone()

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

getDefaultInstanceForType()

public RuntimeEventData getDefaultInstanceForType()
Returns
Type Description
RuntimeEventData

getDescriptorForType()

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

getPayload()

public Runtime getPayload()

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

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

Returns
Type Description
Runtime

The payload.

getPayloadBuilder()

public Runtime.Builder getPayloadBuilder()

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

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

Returns
Type Description
Runtime.Builder

getPayloadOrBuilder()

public RuntimeOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
RuntimeOrBuilder

hasPayload()

public boolean hasPayload()

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

optional .google.events.cloud.notebooks.v1.Runtime 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(RuntimeEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Runtime value)

public RuntimeEventData.Builder mergePayload(Runtime value)

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

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

Parameter
Name Description
value Runtime
Returns
Type Description
RuntimeEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Runtime value)

public RuntimeEventData.Builder setPayload(Runtime value)

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

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

Parameter
Name Description
value Runtime
Returns
Type Description
RuntimeEventData.Builder

setPayload(Runtime.Builder builderForValue)

public RuntimeEventData.Builder setPayload(Runtime.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Runtime.Builder
Returns
Type Description
RuntimeEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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