Class ConnectivityTestEventData.Builder (0.16.0)

public static final class ConnectivityTestEventData.Builder extends GeneratedMessageV3.Builder<ConnectivityTestEventData.Builder> implements ConnectivityTestEventDataOrBuilder

The data within all ConnectivityTest events.

Protobuf type google.events.cloud.networkmanagement.v1.ConnectivityTestEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConnectivityTestEventData build()
Returns
Type Description
ConnectivityTestEventData

buildPartial()

public ConnectivityTestEventData buildPartial()
Returns
Type Description
ConnectivityTestEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public ConnectivityTestEventData.Builder clearPayload()

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

optional .google.events.cloud.networkmanagement.v1.ConnectivityTest payload = 1;

Returns
Type Description
ConnectivityTestEventData.Builder

clone()

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

getDefaultInstanceForType()

public ConnectivityTestEventData getDefaultInstanceForType()
Returns
Type Description
ConnectivityTestEventData

getDescriptorForType()

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

getPayload()

public ConnectivityTest getPayload()

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

optional .google.events.cloud.networkmanagement.v1.ConnectivityTest payload = 1;

Returns
Type Description
ConnectivityTest

The payload.

getPayloadBuilder()

public ConnectivityTest.Builder getPayloadBuilder()

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

optional .google.events.cloud.networkmanagement.v1.ConnectivityTest payload = 1;

Returns
Type Description
ConnectivityTest.Builder

getPayloadOrBuilder()

public ConnectivityTestOrBuilder getPayloadOrBuilder()

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

optional .google.events.cloud.networkmanagement.v1.ConnectivityTest payload = 1;

Returns
Type Description
ConnectivityTestOrBuilder

hasPayload()

public boolean hasPayload()

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

optional .google.events.cloud.networkmanagement.v1.ConnectivityTest 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(ConnectivityTestEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(ConnectivityTest value)

public ConnectivityTestEventData.Builder mergePayload(ConnectivityTest value)

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

optional .google.events.cloud.networkmanagement.v1.ConnectivityTest payload = 1;

Parameter
Name Description
value ConnectivityTest
Returns
Type Description
ConnectivityTestEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(ConnectivityTest value)

public ConnectivityTestEventData.Builder setPayload(ConnectivityTest value)

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

optional .google.events.cloud.networkmanagement.v1.ConnectivityTest payload = 1;

Parameter
Name Description
value ConnectivityTest
Returns
Type Description
ConnectivityTestEventData.Builder

setPayload(ConnectivityTest.Builder builderForValue)

public ConnectivityTestEventData.Builder setPayload(ConnectivityTest.Builder builderForValue)

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

optional .google.events.cloud.networkmanagement.v1.ConnectivityTest payload = 1;

Parameter
Name Description
builderForValue ConnectivityTest.Builder
Returns
Type Description
ConnectivityTestEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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