Class ConnectivityTestEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConnectivityTestEventData build()
Returns
TypeDescription
ConnectivityTestEventData

buildPartial()

public ConnectivityTestEventData buildPartial()
Returns
TypeDescription
ConnectivityTestEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ConnectivityTestEventData getDefaultInstanceForType()
Returns
TypeDescription
ConnectivityTestEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

public ConnectivityTestEventData.Builder mergeFrom(ConnectivityTestEventData other)
Parameter
NameDescription
otherConnectivityTestEventData
Returns
TypeDescription
ConnectivityTestEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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