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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ServiceBindingEventData.BuilderImplements
ServiceBindingEventDataOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public ServiceBindingEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ServiceBindingEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ServiceBindingEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ServiceBindingEventData.Builder |
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 |
getDefaultInstanceForType()
public ServiceBindingEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ServiceBindingEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ServiceBindingEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ServiceBindingEventData.Builder |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final ServiceBindingEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ServiceBindingEventData.Builder |