Class SpokeEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SpokeEventData build()
Returns
TypeDescription
SpokeEventData

buildPartial()

public SpokeEventData buildPartial()
Returns
TypeDescription
SpokeEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SpokeEventData getDefaultInstanceForType()
Returns
TypeDescription
SpokeEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

public SpokeEventData.Builder mergeFrom(SpokeEventData other)
Parameter
NameDescription
otherSpokeEventData
Returns
TypeDescription
SpokeEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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