Class ApiDeploymentEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ApiDeploymentEventData build()
Returns
TypeDescription
ApiDeploymentEventData

buildPartial()

public ApiDeploymentEventData buildPartial()
Returns
TypeDescription
ApiDeploymentEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ApiDeploymentEventData getDefaultInstanceForType()
Returns
TypeDescription
ApiDeploymentEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

public ApiDeploymentEventData.Builder mergeFrom(ApiDeploymentEventData other)
Parameter
NameDescription
otherApiDeploymentEventData
Returns
TypeDescription
ApiDeploymentEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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