public static final class ReceiveEventsControlResponse.Builder extends GeneratedMessageV3.Builder<ReceiveEventsControlResponse.Builder> implements ReceiveEventsControlResponseOrBuilder
Control message for a ReceiveEventsResponse.
Protobuf type google.cloud.visionai.v1.ReceiveEventsControlResponse
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 ReceiveEventsControlResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ReceiveEventsControlResponse build()
buildPartial()
public ReceiveEventsControlResponse buildPartial()
clear()
public ReceiveEventsControlResponse.Builder clear()
Overrides
clearControl()
public ReceiveEventsControlResponse.Builder clearControl()
clearField(Descriptors.FieldDescriptor field)
public ReceiveEventsControlResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHeartbeat()
public ReceiveEventsControlResponse.Builder clearHeartbeat()
A server heartbeat.
bool heartbeat = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ReceiveEventsControlResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearWritesDoneRequest()
public ReceiveEventsControlResponse.Builder clearWritesDoneRequest()
A request to the receiver to complete any final writes followed by a
WritesDone
; e.g. issue any final CommitRequest
s.
May be ignored if WritesDone
has already been issued at any point
prior to receiving this message.
If WritesDone
does not get issued, then the server will forcefully
cancel the connection, and the receiver will likely receive an
uninformative after Read
returns false
and Finish
is called.
bool writes_done_request = 2;
clone()
public ReceiveEventsControlResponse.Builder clone()
Overrides
getControlCase()
public ReceiveEventsControlResponse.ControlCase getControlCase()
getDefaultInstanceForType()
public ReceiveEventsControlResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getHeartbeat()
public boolean getHeartbeat()
A server heartbeat.
bool heartbeat = 1;
Returns |
Type |
Description |
boolean |
The heartbeat.
|
getWritesDoneRequest()
public boolean getWritesDoneRequest()
A request to the receiver to complete any final writes followed by a
WritesDone
; e.g. issue any final CommitRequest
s.
May be ignored if WritesDone
has already been issued at any point
prior to receiving this message.
If WritesDone
does not get issued, then the server will forcefully
cancel the connection, and the receiver will likely receive an
uninformative after Read
returns false
and Finish
is called.
bool writes_done_request = 2;
Returns |
Type |
Description |
boolean |
The writesDoneRequest.
|
hasHeartbeat()
public boolean hasHeartbeat()
A server heartbeat.
bool heartbeat = 1;
Returns |
Type |
Description |
boolean |
Whether the heartbeat field is set.
|
hasWritesDoneRequest()
public boolean hasWritesDoneRequest()
A request to the receiver to complete any final writes followed by a
WritesDone
; e.g. issue any final CommitRequest
s.
May be ignored if WritesDone
has already been issued at any point
prior to receiving this message.
If WritesDone
does not get issued, then the server will forcefully
cancel the connection, and the receiver will likely receive an
uninformative after Read
returns false
and Finish
is called.
bool writes_done_request = 2;
Returns |
Type |
Description |
boolean |
Whether the writesDoneRequest field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ReceiveEventsControlResponse other)
public ReceiveEventsControlResponse.Builder mergeFrom(ReceiveEventsControlResponse other)
public ReceiveEventsControlResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReceiveEventsControlResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReceiveEventsControlResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ReceiveEventsControlResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setHeartbeat(boolean value)
public ReceiveEventsControlResponse.Builder setHeartbeat(boolean value)
A server heartbeat.
bool heartbeat = 1;
Parameter |
Name |
Description |
value |
boolean
The heartbeat to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReceiveEventsControlResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReceiveEventsControlResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setWritesDoneRequest(boolean value)
public ReceiveEventsControlResponse.Builder setWritesDoneRequest(boolean value)
A request to the receiver to complete any final writes followed by a
WritesDone
; e.g. issue any final CommitRequest
s.
May be ignored if WritesDone
has already been issued at any point
prior to receiving this message.
If WritesDone
does not get issued, then the server will forcefully
cancel the connection, and the receiver will likely receive an
uninformative after Read
returns false
and Finish
is called.
bool writes_done_request = 2;
Parameter |
Name |
Description |
value |
boolean
The writesDoneRequest to set.
|