Class GatewayEventData.Builder (0.15.0)

public static final class GatewayEventData.Builder extends GeneratedMessageV3.Builder<GatewayEventData.Builder> implements GatewayEventDataOrBuilder

The data within all Gateway events.

Protobuf type google.events.cloud.apigateway.v1.GatewayEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GatewayEventData build()
Returns
Type Description
GatewayEventData

buildPartial()

public GatewayEventData buildPartial()
Returns
Type Description
GatewayEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public GatewayEventData.Builder clearPayload()

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

optional .google.events.cloud.apigateway.v1.Gateway payload = 1;

Returns
Type Description
GatewayEventData.Builder

clone()

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

getDefaultInstanceForType()

public GatewayEventData getDefaultInstanceForType()
Returns
Type Description
GatewayEventData

getDescriptorForType()

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

getPayload()

public Gateway getPayload()

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

optional .google.events.cloud.apigateway.v1.Gateway payload = 1;

Returns
Type Description
Gateway

The payload.

getPayloadBuilder()

public Gateway.Builder getPayloadBuilder()

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

optional .google.events.cloud.apigateway.v1.Gateway payload = 1;

Returns
Type Description
Gateway.Builder

getPayloadOrBuilder()

public GatewayOrBuilder getPayloadOrBuilder()

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

optional .google.events.cloud.apigateway.v1.Gateway payload = 1;

Returns
Type Description
GatewayOrBuilder

hasPayload()

public boolean hasPayload()

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

optional .google.events.cloud.apigateway.v1.Gateway 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(GatewayEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Gateway value)

public GatewayEventData.Builder mergePayload(Gateway value)

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

optional .google.events.cloud.apigateway.v1.Gateway payload = 1;

Parameter
Name Description
value Gateway
Returns
Type Description
GatewayEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Gateway value)

public GatewayEventData.Builder setPayload(Gateway value)

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

optional .google.events.cloud.apigateway.v1.Gateway payload = 1;

Parameter
Name Description
value Gateway
Returns
Type Description
GatewayEventData.Builder

setPayload(Gateway.Builder builderForValue)

public GatewayEventData.Builder setPayload(Gateway.Builder builderForValue)

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

optional .google.events.cloud.apigateway.v1.Gateway payload = 1;

Parameter
Name Description
builderForValue Gateway.Builder
Returns
Type Description
GatewayEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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