public static final class ApiEventData.Builder extends GeneratedMessageV3.Builder<ApiEventData.Builder> implements ApiEventDataOrBuilder
The data within all Api events.
Protobuf type google.events.cloud.apigeeregistry.v1.ApiEventData
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ApiEventData.BuilderImplements
ApiEventDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ApiEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ApiEventData.Builder |
build()
public ApiEventData build()
Returns | |
---|---|
Type | Description |
ApiEventData |
buildPartial()
public ApiEventData buildPartial()
Returns | |
---|---|
Type | Description |
ApiEventData |
clear()
public ApiEventData.Builder clear()
Returns | |
---|---|
Type | Description |
ApiEventData.Builder |
clearField(Descriptors.FieldDescriptor field)
public ApiEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ApiEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ApiEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ApiEventData.Builder |
clearPayload()
public ApiEventData.Builder clearPayload()
Optional. The Api event payload. Unset for deletion events.
optional .google.events.cloud.apigeeregistry.v1.Api payload = 1;
Returns | |
---|---|
Type | Description |
ApiEventData.Builder |
clone()
public ApiEventData.Builder clone()
Returns | |
---|---|
Type | Description |
ApiEventData.Builder |
getDefaultInstanceForType()
public ApiEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ApiEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPayload()
public Api getPayload()
Optional. The Api event payload. Unset for deletion events.
optional .google.events.cloud.apigeeregistry.v1.Api payload = 1;
Returns | |
---|---|
Type | Description |
Api |
The payload. |
getPayloadBuilder()
public Api.Builder getPayloadBuilder()
Optional. The Api event payload. Unset for deletion events.
optional .google.events.cloud.apigeeregistry.v1.Api payload = 1;
Returns | |
---|---|
Type | Description |
Api.Builder |
getPayloadOrBuilder()
public ApiOrBuilder getPayloadOrBuilder()
Optional. The Api event payload. Unset for deletion events.
optional .google.events.cloud.apigeeregistry.v1.Api payload = 1;
Returns | |
---|---|
Type | Description |
ApiOrBuilder |
hasPayload()
public boolean hasPayload()
Optional. The Api event payload. Unset for deletion events.
optional .google.events.cloud.apigeeregistry.v1.Api payload = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the payload field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ApiEventData other)
public ApiEventData.Builder mergeFrom(ApiEventData other)
Parameter | |
---|---|
Name | Description |
other |
ApiEventData |
Returns | |
---|---|
Type | Description |
ApiEventData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ApiEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ApiEventData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ApiEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ApiEventData.Builder |
mergePayload(Api value)
public ApiEventData.Builder mergePayload(Api value)
Optional. The Api event payload. Unset for deletion events.
optional .google.events.cloud.apigeeregistry.v1.Api payload = 1;
Parameter | |
---|---|
Name | Description |
value |
Api |
Returns | |
---|---|
Type | Description |
ApiEventData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ApiEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ApiEventData.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ApiEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ApiEventData.Builder |
setPayload(Api value)
public ApiEventData.Builder setPayload(Api value)
Optional. The Api event payload. Unset for deletion events.
optional .google.events.cloud.apigeeregistry.v1.Api payload = 1;
Parameter | |
---|---|
Name | Description |
value |
Api |
Returns | |
---|---|
Type | Description |
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.apigeeregistry.v1.Api payload = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
Api.Builder |
Returns | |
---|---|
Type | Description |
ApiEventData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ApiEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ApiEventData.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ApiEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ApiEventData.Builder |