Class ApiEventData.Builder (0.14.1)

public static final class ApiEventData.Builder extends GeneratedMessageV3.Builder<ApiEventData.Builder> implements ApiEventDataOrBuilder

The data within all Api events.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ApiEventData build()
Returns
TypeDescription
ApiEventData

buildPartial()

public ApiEventData buildPartial()
Returns
TypeDescription
ApiEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ApiEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ApiEventData.Builder
Overrides

clearPayload()

public ApiEventData.Builder clearPayload()

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

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

Returns
TypeDescription
ApiEventData.Builder

clone()

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

getDefaultInstanceForType()

public ApiEventData getDefaultInstanceForType()
Returns
TypeDescription
ApiEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public Api getPayload()

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

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

Returns
TypeDescription
Api

The payload.

getPayloadBuilder()

public Api.Builder getPayloadBuilder()

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

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

Returns
TypeDescription
Api.Builder

getPayloadOrBuilder()

public ApiOrBuilder getPayloadOrBuilder()

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

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

Returns
TypeDescription
ApiOrBuilder

hasPayload()

public boolean hasPayload()

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

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

public ApiEventData.Builder mergeFrom(ApiEventData other)
Parameter
NameDescription
otherApiEventData
Returns
TypeDescription
ApiEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ApiEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ApiEventData.Builder
Overrides

mergePayload(Api value)

public ApiEventData.Builder mergePayload(Api value)

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

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

Parameter
NameDescription
valueApi
Returns
TypeDescription
ApiEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Api value)

public ApiEventData.Builder setPayload(Api value)

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

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

Parameter
NameDescription
valueApi
Returns
TypeDescription
ApiEventData.Builder

setPayload(Api.Builder builderForValue)

public ApiEventData.Builder setPayload(Api.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueApi.Builder
Returns
TypeDescription
ApiEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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