Class ServiceConnectionMapEventData.Builder (0.14.1)

public static final class ServiceConnectionMapEventData.Builder extends GeneratedMessageV3.Builder<ServiceConnectionMapEventData.Builder> implements ServiceConnectionMapEventDataOrBuilder

The data within all ServiceConnectionMap events.

Protobuf type google.events.cloud.networkconnectivity.v1.ServiceConnectionMapEventData

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ServiceConnectionMapEventData build()
Returns
TypeDescription
ServiceConnectionMapEventData

buildPartial()

public ServiceConnectionMapEventData buildPartial()
Returns
TypeDescription
ServiceConnectionMapEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ServiceConnectionMapEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ServiceConnectionMapEventData.Builder
Overrides

clearPayload()

public ServiceConnectionMapEventData.Builder clearPayload()

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

optional .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap payload = 1;

Returns
TypeDescription
ServiceConnectionMapEventData.Builder

clone()

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

getDefaultInstanceForType()

public ServiceConnectionMapEventData getDefaultInstanceForType()
Returns
TypeDescription
ServiceConnectionMapEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public ServiceConnectionMap getPayload()

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

optional .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap payload = 1;

Returns
TypeDescription
ServiceConnectionMap

The payload.

getPayloadBuilder()

public ServiceConnectionMap.Builder getPayloadBuilder()

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

optional .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap payload = 1;

Returns
TypeDescription
ServiceConnectionMap.Builder

getPayloadOrBuilder()

public ServiceConnectionMapOrBuilder getPayloadOrBuilder()

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

optional .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap payload = 1;

Returns
TypeDescription
ServiceConnectionMapOrBuilder

hasPayload()

public boolean hasPayload()

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

optional .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap 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(ServiceConnectionMapEventData other)

public ServiceConnectionMapEventData.Builder mergeFrom(ServiceConnectionMapEventData other)
Parameter
NameDescription
otherServiceConnectionMapEventData
Returns
TypeDescription
ServiceConnectionMapEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ServiceConnectionMapEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ServiceConnectionMapEventData.Builder
Overrides

mergePayload(ServiceConnectionMap value)

public ServiceConnectionMapEventData.Builder mergePayload(ServiceConnectionMap value)

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

optional .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap payload = 1;

Parameter
NameDescription
valueServiceConnectionMap
Returns
TypeDescription
ServiceConnectionMapEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(ServiceConnectionMap value)

public ServiceConnectionMapEventData.Builder setPayload(ServiceConnectionMap value)

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

optional .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap payload = 1;

Parameter
NameDescription
valueServiceConnectionMap
Returns
TypeDescription
ServiceConnectionMapEventData.Builder

setPayload(ServiceConnectionMap.Builder builderForValue)

public ServiceConnectionMapEventData.Builder setPayload(ServiceConnectionMap.Builder builderForValue)

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

optional .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap payload = 1;

Parameter
NameDescription
builderForValueServiceConnectionMap.Builder
Returns
TypeDescription
ServiceConnectionMapEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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