Class InstanceEventData.Builder (0.16.0)

public static final class InstanceEventData.Builder extends GeneratedMessageV3.Builder<InstanceEventData.Builder> implements InstanceEventDataOrBuilder

The data within all Instance events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceEventData build()
Returns
Type Description
InstanceEventData

buildPartial()

public InstanceEventData buildPartial()
Returns
Type Description
InstanceEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public InstanceEventData.Builder clearPayload()

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

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

Returns
Type Description
InstanceEventData.Builder

clone()

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

getDefaultInstanceForType()

public InstanceEventData getDefaultInstanceForType()
Returns
Type Description
InstanceEventData

getDescriptorForType()

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

getPayload()

public Instance getPayload()

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

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

Returns
Type Description
Instance

The payload.

getPayloadBuilder()

public Instance.Builder getPayloadBuilder()

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

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

Returns
Type Description
Instance.Builder

getPayloadOrBuilder()

public InstanceOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
InstanceOrBuilder

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Instance value)

public InstanceEventData.Builder mergePayload(Instance value)

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

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

Parameter
Name Description
value Instance
Returns
Type Description
InstanceEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Instance value)

public InstanceEventData.Builder setPayload(Instance value)

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

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

Parameter
Name Description
value Instance
Returns
Type Description
InstanceEventData.Builder

setPayload(Instance.Builder builderForValue)

public InstanceEventData.Builder setPayload(Instance.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Instance.Builder
Returns
Type Description
InstanceEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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