Class ReceiveEventsResponse.Builder (0.11.0)

public static final class ReceiveEventsResponse.Builder extends GeneratedMessageV3.Builder<ReceiveEventsResponse.Builder> implements ReceiveEventsResponseOrBuilder

Response message for the ReceiveEvents.

Protobuf type google.cloud.visionai.v1.ReceiveEventsResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReceiveEventsResponse build()
Returns
Type Description
ReceiveEventsResponse

buildPartial()

public ReceiveEventsResponse buildPartial()
Returns
Type Description
ReceiveEventsResponse

clear()

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

clearControl()

public ReceiveEventsResponse.Builder clearControl()

A control message from the server.

.google.cloud.visionai.v1.ReceiveEventsControlResponse control = 2;

Returns
Type Description
ReceiveEventsResponse.Builder

clearEventUpdate()

public ReceiveEventsResponse.Builder clearEventUpdate()

The event update message.

.google.cloud.visionai.v1.EventUpdate event_update = 1;

Returns
Type Description
ReceiveEventsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResponse()

public ReceiveEventsResponse.Builder clearResponse()
Returns
Type Description
ReceiveEventsResponse.Builder

clone()

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

getControl()

public ReceiveEventsControlResponse getControl()

A control message from the server.

.google.cloud.visionai.v1.ReceiveEventsControlResponse control = 2;

Returns
Type Description
ReceiveEventsControlResponse

The control.

getControlBuilder()

public ReceiveEventsControlResponse.Builder getControlBuilder()

A control message from the server.

.google.cloud.visionai.v1.ReceiveEventsControlResponse control = 2;

Returns
Type Description
ReceiveEventsControlResponse.Builder

getControlOrBuilder()

public ReceiveEventsControlResponseOrBuilder getControlOrBuilder()

A control message from the server.

.google.cloud.visionai.v1.ReceiveEventsControlResponse control = 2;

Returns
Type Description
ReceiveEventsControlResponseOrBuilder

getDefaultInstanceForType()

public ReceiveEventsResponse getDefaultInstanceForType()
Returns
Type Description
ReceiveEventsResponse

getDescriptorForType()

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

getEventUpdate()

public EventUpdate getEventUpdate()

The event update message.

.google.cloud.visionai.v1.EventUpdate event_update = 1;

Returns
Type Description
EventUpdate

The eventUpdate.

getEventUpdateBuilder()

public EventUpdate.Builder getEventUpdateBuilder()

The event update message.

.google.cloud.visionai.v1.EventUpdate event_update = 1;

Returns
Type Description
EventUpdate.Builder

getEventUpdateOrBuilder()

public EventUpdateOrBuilder getEventUpdateOrBuilder()

The event update message.

.google.cloud.visionai.v1.EventUpdate event_update = 1;

Returns
Type Description
EventUpdateOrBuilder

getResponseCase()

public ReceiveEventsResponse.ResponseCase getResponseCase()
Returns
Type Description
ReceiveEventsResponse.ResponseCase

hasControl()

public boolean hasControl()

A control message from the server.

.google.cloud.visionai.v1.ReceiveEventsControlResponse control = 2;

Returns
Type Description
boolean

Whether the control field is set.

hasEventUpdate()

public boolean hasEventUpdate()

The event update message.

.google.cloud.visionai.v1.EventUpdate event_update = 1;

Returns
Type Description
boolean

Whether the eventUpdate field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeControl(ReceiveEventsControlResponse value)

public ReceiveEventsResponse.Builder mergeControl(ReceiveEventsControlResponse value)

A control message from the server.

.google.cloud.visionai.v1.ReceiveEventsControlResponse control = 2;

Parameter
Name Description
value ReceiveEventsControlResponse
Returns
Type Description
ReceiveEventsResponse.Builder

mergeEventUpdate(EventUpdate value)

public ReceiveEventsResponse.Builder mergeEventUpdate(EventUpdate value)

The event update message.

.google.cloud.visionai.v1.EventUpdate event_update = 1;

Parameter
Name Description
value EventUpdate
Returns
Type Description
ReceiveEventsResponse.Builder

mergeFrom(ReceiveEventsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setControl(ReceiveEventsControlResponse value)

public ReceiveEventsResponse.Builder setControl(ReceiveEventsControlResponse value)

A control message from the server.

.google.cloud.visionai.v1.ReceiveEventsControlResponse control = 2;

Parameter
Name Description
value ReceiveEventsControlResponse
Returns
Type Description
ReceiveEventsResponse.Builder

setControl(ReceiveEventsControlResponse.Builder builderForValue)

public ReceiveEventsResponse.Builder setControl(ReceiveEventsControlResponse.Builder builderForValue)

A control message from the server.

.google.cloud.visionai.v1.ReceiveEventsControlResponse control = 2;

Parameter
Name Description
builderForValue ReceiveEventsControlResponse.Builder
Returns
Type Description
ReceiveEventsResponse.Builder

setEventUpdate(EventUpdate value)

public ReceiveEventsResponse.Builder setEventUpdate(EventUpdate value)

The event update message.

.google.cloud.visionai.v1.EventUpdate event_update = 1;

Parameter
Name Description
value EventUpdate
Returns
Type Description
ReceiveEventsResponse.Builder

setEventUpdate(EventUpdate.Builder builderForValue)

public ReceiveEventsResponse.Builder setEventUpdate(EventUpdate.Builder builderForValue)

The event update message.

.google.cloud.visionai.v1.EventUpdate event_update = 1;

Parameter
Name Description
builderForValue EventUpdate.Builder
Returns
Type Description
ReceiveEventsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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