Class ServiceClassEventData.Builder (0.14.1)

public static final class ServiceClassEventData.Builder extends GeneratedMessageV3.Builder<ServiceClassEventData.Builder> implements ServiceClassEventDataOrBuilder

The data within all ServiceClass events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ServiceClassEventData build()
Returns
TypeDescription
ServiceClassEventData

buildPartial()

public ServiceClassEventData buildPartial()
Returns
TypeDescription
ServiceClassEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public ServiceClassEventData.Builder clearPayload()

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

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

Returns
TypeDescription
ServiceClassEventData.Builder

clone()

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

getDefaultInstanceForType()

public ServiceClassEventData getDefaultInstanceForType()
Returns
TypeDescription
ServiceClassEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public ServiceClass getPayload()

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

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

Returns
TypeDescription
ServiceClass

The payload.

getPayloadBuilder()

public ServiceClass.Builder getPayloadBuilder()

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

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

Returns
TypeDescription
ServiceClass.Builder

getPayloadOrBuilder()

public ServiceClassOrBuilder getPayloadOrBuilder()

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

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

Returns
TypeDescription
ServiceClassOrBuilder

hasPayload()

public boolean hasPayload()

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

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

public ServiceClassEventData.Builder mergeFrom(ServiceClassEventData other)
Parameter
NameDescription
otherServiceClassEventData
Returns
TypeDescription
ServiceClassEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(ServiceClass value)

public ServiceClassEventData.Builder mergePayload(ServiceClass value)

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

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

Parameter
NameDescription
valueServiceClass
Returns
TypeDescription
ServiceClassEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(ServiceClass value)

public ServiceClassEventData.Builder setPayload(ServiceClass value)

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

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

Parameter
NameDescription
valueServiceClass
Returns
TypeDescription
ServiceClassEventData.Builder

setPayload(ServiceClass.Builder builderForValue)

public ServiceClassEventData.Builder setPayload(ServiceClass.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueServiceClass.Builder
Returns
TypeDescription
ServiceClassEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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