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