Class HubEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HubEventData build()
Returns
TypeDescription
HubEventData

buildPartial()

public HubEventData buildPartial()
Returns
TypeDescription
HubEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public HubEventData getDefaultInstanceForType()
Returns
TypeDescription
HubEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

public HubEventData.Builder mergeFrom(HubEventData other)
Parameter
NameDescription
otherHubEventData
Returns
TypeDescription
HubEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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