Class HubEventData.Builder (0.16.0)

public static final class HubEventData.Builder extends GeneratedMessageV3.Builder<HubEventData.Builder> implements HubEventDataOrBuilder

The data within all Hub events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HubEventData build()
Returns
Type Description
HubEventData

buildPartial()

public HubEventData buildPartial()
Returns
Type Description
HubEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public HubEventData.Builder clearPayload()

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

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

Returns
Type Description
HubEventData.Builder

clone()

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

getDefaultInstanceForType()

public HubEventData getDefaultInstanceForType()
Returns
Type Description
HubEventData

getDescriptorForType()

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

getPayload()

public Hub getPayload()

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

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

Returns
Type Description
Hub

The payload.

getPayloadBuilder()

public Hub.Builder getPayloadBuilder()

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

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

Returns
Type Description
Hub.Builder

getPayloadOrBuilder()

public HubOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
HubOrBuilder

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Hub value)

public HubEventData.Builder mergePayload(Hub value)

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

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

Parameter
Name Description
value Hub
Returns
Type Description
HubEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Hub value)

public HubEventData.Builder setPayload(Hub value)

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

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

Parameter
Name Description
value Hub
Returns
Type Description
HubEventData.Builder

setPayload(Hub.Builder builderForValue)

public HubEventData.Builder setPayload(Hub.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Hub.Builder
Returns
Type Description
HubEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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