Class SpokeEventData.Builder (0.15.0)

public static final class SpokeEventData.Builder extends GeneratedMessageV3.Builder<SpokeEventData.Builder> implements SpokeEventDataOrBuilder

The data within all Spoke events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SpokeEventData build()
Returns
Type Description
SpokeEventData

buildPartial()

public SpokeEventData buildPartial()
Returns
Type Description
SpokeEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public SpokeEventData.Builder clearPayload()

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

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

Returns
Type Description
SpokeEventData.Builder

clone()

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

getDefaultInstanceForType()

public SpokeEventData getDefaultInstanceForType()
Returns
Type Description
SpokeEventData

getDescriptorForType()

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

getPayload()

public Spoke getPayload()

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

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

Returns
Type Description
Spoke

The payload.

getPayloadBuilder()

public Spoke.Builder getPayloadBuilder()

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

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

Returns
Type Description
Spoke.Builder

getPayloadOrBuilder()

public SpokeOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
SpokeOrBuilder

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Spoke value)

public SpokeEventData.Builder mergePayload(Spoke value)

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

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

Parameter
Name Description
value Spoke
Returns
Type Description
SpokeEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Spoke value)

public SpokeEventData.Builder setPayload(Spoke value)

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

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

Parameter
Name Description
value Spoke
Returns
Type Description
SpokeEventData.Builder

setPayload(Spoke.Builder builderForValue)

public SpokeEventData.Builder setPayload(Spoke.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Spoke.Builder
Returns
Type Description
SpokeEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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