Class GatewayEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GatewayEventData build()
Returns
TypeDescription
GatewayEventData

buildPartial()

public GatewayEventData buildPartial()
Returns
TypeDescription
GatewayEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GatewayEventData getDefaultInstanceForType()
Returns
TypeDescription
GatewayEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

public GatewayEventData.Builder mergeFrom(GatewayEventData other)
Parameter
NameDescription
otherGatewayEventData
Returns
TypeDescription
GatewayEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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