Class TcpRouteEventData.Builder (0.16.0)

public static final class TcpRouteEventData.Builder extends GeneratedMessageV3.Builder<TcpRouteEventData.Builder> implements TcpRouteEventDataOrBuilder

The data within all TcpRoute events.

Protobuf type google.events.cloud.networkservices.v1.TcpRouteEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TcpRouteEventData build()
Returns
Type Description
TcpRouteEventData

buildPartial()

public TcpRouteEventData buildPartial()
Returns
Type Description
TcpRouteEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public TcpRouteEventData.Builder clearPayload()

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

optional .google.events.cloud.networkservices.v1.TcpRoute payload = 1;

Returns
Type Description
TcpRouteEventData.Builder

clone()

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

getDefaultInstanceForType()

public TcpRouteEventData getDefaultInstanceForType()
Returns
Type Description
TcpRouteEventData

getDescriptorForType()

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

getPayload()

public TcpRoute getPayload()

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

optional .google.events.cloud.networkservices.v1.TcpRoute payload = 1;

Returns
Type Description
TcpRoute

The payload.

getPayloadBuilder()

public TcpRoute.Builder getPayloadBuilder()

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

optional .google.events.cloud.networkservices.v1.TcpRoute payload = 1;

Returns
Type Description
TcpRoute.Builder

getPayloadOrBuilder()

public TcpRouteOrBuilder getPayloadOrBuilder()

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

optional .google.events.cloud.networkservices.v1.TcpRoute payload = 1;

Returns
Type Description
TcpRouteOrBuilder

hasPayload()

public boolean hasPayload()

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

optional .google.events.cloud.networkservices.v1.TcpRoute 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(TcpRouteEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(TcpRoute value)

public TcpRouteEventData.Builder mergePayload(TcpRoute value)

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

optional .google.events.cloud.networkservices.v1.TcpRoute payload = 1;

Parameter
Name Description
value TcpRoute
Returns
Type Description
TcpRouteEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(TcpRoute value)

public TcpRouteEventData.Builder setPayload(TcpRoute value)

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

optional .google.events.cloud.networkservices.v1.TcpRoute payload = 1;

Parameter
Name Description
value TcpRoute
Returns
Type Description
TcpRouteEventData.Builder

setPayload(TcpRoute.Builder builderForValue)

public TcpRouteEventData.Builder setPayload(TcpRoute.Builder builderForValue)

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

optional .google.events.cloud.networkservices.v1.TcpRoute payload = 1;

Parameter
Name Description
builderForValue TcpRoute.Builder
Returns
Type Description
TcpRouteEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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