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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RouteEventData.BuilderImplements
RouteEventDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RouteEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
RouteEventData.Builder |
build()
public RouteEventData build()
Returns | |
---|---|
Type | Description |
RouteEventData |
buildPartial()
public RouteEventData buildPartial()
Returns | |
---|---|
Type | Description |
RouteEventData |
clear()
public RouteEventData.Builder clear()
Returns | |
---|---|
Type | Description |
RouteEventData.Builder |
clearField(Descriptors.FieldDescriptor field)
public RouteEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
RouteEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RouteEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
RouteEventData.Builder |
clearPayload()
public RouteEventData.Builder clearPayload()
Optional. The Route event payload. Unset for deletion events.
optional .google.events.cloud.datastream.v1.Route payload = 1;
Returns | |
---|---|
Type | Description |
RouteEventData.Builder |
clone()
public RouteEventData.Builder clone()
Returns | |
---|---|
Type | Description |
RouteEventData.Builder |
getDefaultInstanceForType()
public RouteEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RouteEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPayload()
public Route getPayload()
Optional. The Route event payload. Unset for deletion events.
optional .google.events.cloud.datastream.v1.Route payload = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
RouteOrBuilder |
hasPayload()
public boolean hasPayload()
Optional. The Route event payload. Unset for deletion events.
optional .google.events.cloud.datastream.v1.Route 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(RouteEventData other)
public RouteEventData.Builder mergeFrom(RouteEventData other)
Parameter | |
---|---|
Name | Description |
other | RouteEventData |
Returns | |
---|---|
Type | Description |
RouteEventData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RouteEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RouteEventData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RouteEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
RouteEventData.Builder |
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 | |
---|---|
Name | Description |
value | Route |
Returns | |
---|---|
Type | Description |
RouteEventData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RouteEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RouteEventData.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RouteEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
RouteEventData.Builder |
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 | |
---|---|
Name | Description |
value | Route |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | Route.Builder |
Returns | |
---|---|
Type | Description |
RouteEventData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RouteEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
RouteEventData.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RouteEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RouteEventData.Builder |