Class RuntimeEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RuntimeEventData build()
Returns
TypeDescription
RuntimeEventData

buildPartial()

public RuntimeEventData buildPartial()
Returns
TypeDescription
RuntimeEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RuntimeEventData getDefaultInstanceForType()
Returns
TypeDescription
RuntimeEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

public RuntimeEventData.Builder mergeFrom(RuntimeEventData other)
Parameter
NameDescription
otherRuntimeEventData
Returns
TypeDescription
RuntimeEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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