Class EnvironmentEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EnvironmentEventData build()
Returns
TypeDescription
EnvironmentEventData

buildPartial()

public EnvironmentEventData buildPartial()
Returns
TypeDescription
EnvironmentEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public EnvironmentEventData getDefaultInstanceForType()
Returns
TypeDescription
EnvironmentEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

public EnvironmentEventData.Builder mergeFrom(EnvironmentEventData other)
Parameter
NameDescription
otherEnvironmentEventData
Returns
TypeDescription
EnvironmentEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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