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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HubEventData.BuilderImplements
HubEventDataOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public HubEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
HubEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public HubEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
HubEventData.Builder |
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 |
getDefaultInstanceForType()
public HubEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
HubEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public HubEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
HubEventData.Builder |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final HubEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
HubEventData.Builder |