Class RouteEventData.Builder (0.14.1)

public static final class RouteEventData.Builder extends GeneratedMessageV3.Builder<RouteEventData.Builder> implements RouteEventDataOrBuilder

The data within all Route events.

Protobuf type google.events.cloud.datastream.v1.RouteEventData

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RouteEventData build()
Returns
TypeDescription
RouteEventData

buildPartial()

public RouteEventData buildPartial()
Returns
TypeDescription
RouteEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public RouteEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RouteEventData.Builder
Overrides

clearPayload()

public RouteEventData.Builder clearPayload()

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

optional .google.events.cloud.datastream.v1.Route payload = 1;

Returns
TypeDescription
RouteEventData.Builder

clone()

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

getDefaultInstanceForType()

public RouteEventData getDefaultInstanceForType()
Returns
TypeDescription
RouteEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public Route getPayload()

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

optional .google.events.cloud.datastream.v1.Route payload = 1;

Returns
TypeDescription
Route

The payload.

getPayloadBuilder()

public Route.Builder getPayloadBuilder()

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

optional .google.events.cloud.datastream.v1.Route payload = 1;

Returns
TypeDescription
Route.Builder

getPayloadOrBuilder()

public RouteOrBuilder getPayloadOrBuilder()

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

optional .google.events.cloud.datastream.v1.Route payload = 1;

Returns
TypeDescription
RouteOrBuilder

hasPayload()

public boolean hasPayload()

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

optional .google.events.cloud.datastream.v1.Route 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(RouteEventData other)

public RouteEventData.Builder mergeFrom(RouteEventData other)
Parameter
NameDescription
otherRouteEventData
Returns
TypeDescription
RouteEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RouteEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RouteEventData.Builder
Overrides

mergePayload(Route value)

public RouteEventData.Builder mergePayload(Route value)

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

optional .google.events.cloud.datastream.v1.Route payload = 1;

Parameter
NameDescription
valueRoute
Returns
TypeDescription
RouteEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Route value)

public RouteEventData.Builder setPayload(Route value)

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

optional .google.events.cloud.datastream.v1.Route payload = 1;

Parameter
NameDescription
valueRoute
Returns
TypeDescription
RouteEventData.Builder

setPayload(Route.Builder builderForValue)

public RouteEventData.Builder setPayload(Route.Builder builderForValue)

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

optional .google.events.cloud.datastream.v1.Route payload = 1;

Parameter
NameDescription
builderForValueRoute.Builder
Returns
TypeDescription
RouteEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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