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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReceiveEventsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ReceiveEventsResponse build()
buildPartial()
public ReceiveEventsResponse buildPartial()
clear()
public ReceiveEventsResponse.Builder clear()
Overrides
clearControl()
public ReceiveEventsResponse.Builder clearControl()
A control message from the server.
.google.cloud.visionai.v1.ReceiveEventsControlResponse control = 2;
clearEventUpdate()
public ReceiveEventsResponse.Builder clearEventUpdate()
The event update message.
.google.cloud.visionai.v1.EventUpdate event_update = 1;
clearField(Descriptors.FieldDescriptor field)
public ReceiveEventsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReceiveEventsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearResponse()
public ReceiveEventsResponse.Builder clearResponse()
clone()
public ReceiveEventsResponse.Builder clone()
Overrides
getControl()
public ReceiveEventsControlResponse getControl()
A control message from the server.
.google.cloud.visionai.v1.ReceiveEventsControlResponse control = 2;
getControlBuilder()
public ReceiveEventsControlResponse.Builder getControlBuilder()
A control message from the server.
.google.cloud.visionai.v1.ReceiveEventsControlResponse control = 2;
getControlOrBuilder()
public ReceiveEventsControlResponseOrBuilder getControlOrBuilder()
A control message from the server.
.google.cloud.visionai.v1.ReceiveEventsControlResponse control = 2;
getDefaultInstanceForType()
public ReceiveEventsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEventUpdate()
public EventUpdate getEventUpdate()
The event update message.
.google.cloud.visionai.v1.EventUpdate event_update = 1;
getEventUpdateBuilder()
public EventUpdate.Builder getEventUpdateBuilder()
The event update message.
.google.cloud.visionai.v1.EventUpdate event_update = 1;
getEventUpdateOrBuilder()
public EventUpdateOrBuilder getEventUpdateOrBuilder()
The event update message.
.google.cloud.visionai.v1.EventUpdate event_update = 1;
getResponseCase()
public ReceiveEventsResponse.ResponseCase getResponseCase()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeControl(ReceiveEventsControlResponse value)
public ReceiveEventsResponse.Builder mergeControl(ReceiveEventsControlResponse value)
A control message from the server.
.google.cloud.visionai.v1.ReceiveEventsControlResponse control = 2;
mergeEventUpdate(EventUpdate value)
public ReceiveEventsResponse.Builder mergeEventUpdate(EventUpdate value)
The event update message.
.google.cloud.visionai.v1.EventUpdate event_update = 1;
mergeFrom(ReceiveEventsResponse other)
public ReceiveEventsResponse.Builder mergeFrom(ReceiveEventsResponse other)
public ReceiveEventsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReceiveEventsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReceiveEventsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setControl(ReceiveEventsControlResponse value)
public ReceiveEventsResponse.Builder setControl(ReceiveEventsControlResponse value)
A control message from the server.
.google.cloud.visionai.v1.ReceiveEventsControlResponse control = 2;
setControl(ReceiveEventsControlResponse.Builder builderForValue)
public ReceiveEventsResponse.Builder setControl(ReceiveEventsControlResponse.Builder builderForValue)
A control message from the server.
.google.cloud.visionai.v1.ReceiveEventsControlResponse control = 2;
setEventUpdate(EventUpdate value)
public ReceiveEventsResponse.Builder setEventUpdate(EventUpdate value)
The event update message.
.google.cloud.visionai.v1.EventUpdate event_update = 1;
setEventUpdate(EventUpdate.Builder builderForValue)
public ReceiveEventsResponse.Builder setEventUpdate(EventUpdate.Builder builderForValue)
The event update message.
.google.cloud.visionai.v1.EventUpdate event_update = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ReceiveEventsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReceiveEventsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReceiveEventsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides