Class ServiceConnectionTokenEventData.Builder (0.16.0)

public static final class ServiceConnectionTokenEventData.Builder extends GeneratedMessageV3.Builder<ServiceConnectionTokenEventData.Builder> implements ServiceConnectionTokenEventDataOrBuilder

The data within all ServiceConnectionToken events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ServiceConnectionTokenEventData build()
Returns
Type Description
ServiceConnectionTokenEventData

buildPartial()

public ServiceConnectionTokenEventData buildPartial()
Returns
Type Description
ServiceConnectionTokenEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public ServiceConnectionTokenEventData.Builder clearPayload()

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

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

Returns
Type Description
ServiceConnectionTokenEventData.Builder

clone()

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

getDefaultInstanceForType()

public ServiceConnectionTokenEventData getDefaultInstanceForType()
Returns
Type Description
ServiceConnectionTokenEventData

getDescriptorForType()

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

getPayload()

public ServiceConnectionToken getPayload()

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

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

Returns
Type Description
ServiceConnectionToken

The payload.

getPayloadBuilder()

public ServiceConnectionToken.Builder getPayloadBuilder()

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

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

Returns
Type Description
ServiceConnectionToken.Builder

getPayloadOrBuilder()

public ServiceConnectionTokenOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
ServiceConnectionTokenOrBuilder

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(ServiceConnectionToken value)

public ServiceConnectionTokenEventData.Builder mergePayload(ServiceConnectionToken value)

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

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

Parameter
Name Description
value ServiceConnectionToken
Returns
Type Description
ServiceConnectionTokenEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(ServiceConnectionToken value)

public ServiceConnectionTokenEventData.Builder setPayload(ServiceConnectionToken value)

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

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

Parameter
Name Description
value ServiceConnectionToken
Returns
Type Description
ServiceConnectionTokenEventData.Builder

setPayload(ServiceConnectionToken.Builder builderForValue)

public ServiceConnectionTokenEventData.Builder setPayload(ServiceConnectionToken.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue ServiceConnectionToken.Builder
Returns
Type Description
ServiceConnectionTokenEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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