Class EnvironmentEventData.Builder (0.16.0)

public static final class EnvironmentEventData.Builder extends GeneratedMessageV3.Builder<EnvironmentEventData.Builder> implements EnvironmentEventDataOrBuilder

The data within all Environment events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EnvironmentEventData build()
Returns
Type Description
EnvironmentEventData

buildPartial()

public EnvironmentEventData buildPartial()
Returns
Type Description
EnvironmentEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public EnvironmentEventData.Builder clearPayload()

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

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

Returns
Type Description
EnvironmentEventData.Builder

clone()

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

getDefaultInstanceForType()

public EnvironmentEventData getDefaultInstanceForType()
Returns
Type Description
EnvironmentEventData

getDescriptorForType()

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

getPayload()

public Environment getPayload()

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

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

Returns
Type Description
Environment

The payload.

getPayloadBuilder()

public Environment.Builder getPayloadBuilder()

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

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

Returns
Type Description
Environment.Builder

getPayloadOrBuilder()

public EnvironmentOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
EnvironmentOrBuilder

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Environment value)

public EnvironmentEventData.Builder mergePayload(Environment value)

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

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

Parameter
Name Description
value Environment
Returns
Type Description
EnvironmentEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Environment value)

public EnvironmentEventData.Builder setPayload(Environment value)

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

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

Parameter
Name Description
value Environment
Returns
Type Description
EnvironmentEventData.Builder

setPayload(Environment.Builder builderForValue)

public EnvironmentEventData.Builder setPayload(Environment.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Environment.Builder
Returns
Type Description
EnvironmentEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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