Class ServiceConnectionTokenEventData.Builder (0.14.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ServiceConnectionTokenEventData build()
Returns
TypeDescription
ServiceConnectionTokenEventData

buildPartial()

public ServiceConnectionTokenEventData buildPartial()
Returns
TypeDescription
ServiceConnectionTokenEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ServiceConnectionTokenEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ServiceConnectionTokenEventData.Builder

clone()

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

getDefaultInstanceForType()

public ServiceConnectionTokenEventData getDefaultInstanceForType()
Returns
TypeDescription
ServiceConnectionTokenEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ServiceConnectionTokenOrBuilder

hasPayload()

public boolean hasPayload()

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

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

public ServiceConnectionTokenEventData.Builder mergeFrom(ServiceConnectionTokenEventData other)
Parameter
NameDescription
otherServiceConnectionTokenEventData
Returns
TypeDescription
ServiceConnectionTokenEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ServiceConnectionTokenEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueServiceConnectionToken
Returns
TypeDescription
ServiceConnectionTokenEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ServiceConnectionTokenEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueServiceConnectionToken
Returns
TypeDescription
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
NameDescription
builderForValueServiceConnectionToken.Builder
Returns
TypeDescription
ServiceConnectionTokenEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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