Class ServiceBindingEventData.Builder (0.15.0)

public static final class ServiceBindingEventData.Builder extends GeneratedMessageV3.Builder<ServiceBindingEventData.Builder> implements ServiceBindingEventDataOrBuilder

The data within all ServiceBinding events.

Protobuf type google.events.cloud.networkservices.v1.ServiceBindingEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ServiceBindingEventData build()
Returns
Type Description
ServiceBindingEventData

buildPartial()

public ServiceBindingEventData buildPartial()
Returns
Type Description
ServiceBindingEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public ServiceBindingEventData.Builder clearPayload()

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

optional .google.events.cloud.networkservices.v1.ServiceBinding payload = 1;

Returns
Type Description
ServiceBindingEventData.Builder

clone()

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

getDefaultInstanceForType()

public ServiceBindingEventData getDefaultInstanceForType()
Returns
Type Description
ServiceBindingEventData

getDescriptorForType()

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

getPayload()

public ServiceBinding getPayload()

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

optional .google.events.cloud.networkservices.v1.ServiceBinding payload = 1;

Returns
Type Description
ServiceBinding

The payload.

getPayloadBuilder()

public ServiceBinding.Builder getPayloadBuilder()

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

optional .google.events.cloud.networkservices.v1.ServiceBinding payload = 1;

Returns
Type Description
ServiceBinding.Builder

getPayloadOrBuilder()

public ServiceBindingOrBuilder getPayloadOrBuilder()

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

optional .google.events.cloud.networkservices.v1.ServiceBinding payload = 1;

Returns
Type Description
ServiceBindingOrBuilder

hasPayload()

public boolean hasPayload()

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

optional .google.events.cloud.networkservices.v1.ServiceBinding 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(ServiceBindingEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(ServiceBinding value)

public ServiceBindingEventData.Builder mergePayload(ServiceBinding value)

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

optional .google.events.cloud.networkservices.v1.ServiceBinding payload = 1;

Parameter
Name Description
value ServiceBinding
Returns
Type Description
ServiceBindingEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(ServiceBinding value)

public ServiceBindingEventData.Builder setPayload(ServiceBinding value)

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

optional .google.events.cloud.networkservices.v1.ServiceBinding payload = 1;

Parameter
Name Description
value ServiceBinding
Returns
Type Description
ServiceBindingEventData.Builder

setPayload(ServiceBinding.Builder builderForValue)

public ServiceBindingEventData.Builder setPayload(ServiceBinding.Builder builderForValue)

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

optional .google.events.cloud.networkservices.v1.ServiceBinding payload = 1;

Parameter
Name Description
builderForValue ServiceBinding.Builder
Returns
Type Description
ServiceBindingEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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