Class ApiConfigEventData.Builder (0.16.0)

public static final class ApiConfigEventData.Builder extends GeneratedMessageV3.Builder<ApiConfigEventData.Builder> implements ApiConfigEventDataOrBuilder

The data within all ApiConfig events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ApiConfigEventData build()
Returns
Type Description
ApiConfigEventData

buildPartial()

public ApiConfigEventData buildPartial()
Returns
Type Description
ApiConfigEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public ApiConfigEventData.Builder clearPayload()

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

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

Returns
Type Description
ApiConfigEventData.Builder

clone()

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

getDefaultInstanceForType()

public ApiConfigEventData getDefaultInstanceForType()
Returns
Type Description
ApiConfigEventData

getDescriptorForType()

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

getPayload()

public ApiConfig getPayload()

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

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

Returns
Type Description
ApiConfig

The payload.

getPayloadBuilder()

public ApiConfig.Builder getPayloadBuilder()

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

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

Returns
Type Description
ApiConfig.Builder

getPayloadOrBuilder()

public ApiConfigOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
ApiConfigOrBuilder

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(ApiConfig value)

public ApiConfigEventData.Builder mergePayload(ApiConfig value)

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

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

Parameter
Name Description
value ApiConfig
Returns
Type Description
ApiConfigEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(ApiConfig value)

public ApiConfigEventData.Builder setPayload(ApiConfig value)

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

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

Parameter
Name Description
value ApiConfig
Returns
Type Description
ApiConfigEventData.Builder

setPayload(ApiConfig.Builder builderForValue)

public ApiConfigEventData.Builder setPayload(ApiConfig.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue ApiConfig.Builder
Returns
Type Description
ApiConfigEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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