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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HubEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public HubEventData build()
buildPartial()
public HubEventData buildPartial()
clear()
public HubEventData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public HubEventData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public HubEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPayload()
public HubEventData.Builder clearPayload()
Optional. The Hub event payload. Unset for deletion events.
optional .google.events.cloud.networkconnectivity.v1.Hub payload = 1;
clone()
public HubEventData.Builder clone()
Overrides
getDefaultInstanceForType()
public HubEventData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
getPayloadOrBuilder()
public HubOrBuilder getPayloadOrBuilder()
Optional. The Hub event payload. Unset for deletion events.
optional .google.events.cloud.networkconnectivity.v1.Hub payload = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(HubEventData other)
public HubEventData.Builder mergeFrom(HubEventData other)
public HubEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public HubEventData.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HubEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public HubEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HubEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HubEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides