Class ApiDeploymentEventData.Builder (0.15.0)

public static final class ApiDeploymentEventData.Builder extends GeneratedMessageV3.Builder<ApiDeploymentEventData.Builder> implements ApiDeploymentEventDataOrBuilder

The data within all ApiDeployment events.

Protobuf type google.events.cloud.apigeeregistry.v1.ApiDeploymentEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ApiDeploymentEventData build()
Returns
Type Description
ApiDeploymentEventData

buildPartial()

public ApiDeploymentEventData buildPartial()
Returns
Type Description
ApiDeploymentEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public ApiDeploymentEventData.Builder clearPayload()

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

optional .google.events.cloud.apigeeregistry.v1.ApiDeployment payload = 1;

Returns
Type Description
ApiDeploymentEventData.Builder

clone()

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

getDefaultInstanceForType()

public ApiDeploymentEventData getDefaultInstanceForType()
Returns
Type Description
ApiDeploymentEventData

getDescriptorForType()

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

getPayload()

public ApiDeployment getPayload()

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

optional .google.events.cloud.apigeeregistry.v1.ApiDeployment payload = 1;

Returns
Type Description
ApiDeployment

The payload.

getPayloadBuilder()

public ApiDeployment.Builder getPayloadBuilder()

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

optional .google.events.cloud.apigeeregistry.v1.ApiDeployment payload = 1;

Returns
Type Description
ApiDeployment.Builder

getPayloadOrBuilder()

public ApiDeploymentOrBuilder getPayloadOrBuilder()

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

optional .google.events.cloud.apigeeregistry.v1.ApiDeployment payload = 1;

Returns
Type Description
ApiDeploymentOrBuilder

hasPayload()

public boolean hasPayload()

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

optional .google.events.cloud.apigeeregistry.v1.ApiDeployment 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(ApiDeploymentEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(ApiDeployment value)

public ApiDeploymentEventData.Builder mergePayload(ApiDeployment value)

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

optional .google.events.cloud.apigeeregistry.v1.ApiDeployment payload = 1;

Parameter
Name Description
value ApiDeployment
Returns
Type Description
ApiDeploymentEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(ApiDeployment value)

public ApiDeploymentEventData.Builder setPayload(ApiDeployment value)

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

optional .google.events.cloud.apigeeregistry.v1.ApiDeployment payload = 1;

Parameter
Name Description
value ApiDeployment
Returns
Type Description
ApiDeploymentEventData.Builder

setPayload(ApiDeployment.Builder builderForValue)

public ApiDeploymentEventData.Builder setPayload(ApiDeployment.Builder builderForValue)

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

optional .google.events.cloud.apigeeregistry.v1.ApiDeployment payload = 1;

Parameter
Name Description
builderForValue ApiDeployment.Builder
Returns
Type Description
ApiDeploymentEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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