public static final class ReceivePacketsResponse.Builder extends GeneratedMessageV3.Builder<ReceivePacketsResponse.Builder> implements ReceivePacketsResponseOrBuilder
Response message from ReceivePackets.
Protobuf type google.cloud.visionai.v1.ReceivePacketsResponse
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 ReceivePacketsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ReceivePacketsResponse build()
buildPartial()
public ReceivePacketsResponse buildPartial()
clear()
public ReceivePacketsResponse.Builder clear()
Overrides
clearControl()
public ReceivePacketsResponse.Builder clearControl()
A control message from the server.
.google.cloud.visionai.v1.ReceivePacketsControlResponse control = 3;
clearField(Descriptors.FieldDescriptor field)
public ReceivePacketsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReceivePacketsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPacket()
public ReceivePacketsResponse.Builder clearPacket()
A genuine data payload originating from the sender.
.google.cloud.visionai.v1.Packet packet = 1;
clearResponse()
public ReceivePacketsResponse.Builder clearResponse()
clone()
public ReceivePacketsResponse.Builder clone()
Overrides
getControl()
public ReceivePacketsControlResponse getControl()
A control message from the server.
.google.cloud.visionai.v1.ReceivePacketsControlResponse control = 3;
getControlBuilder()
public ReceivePacketsControlResponse.Builder getControlBuilder()
A control message from the server.
.google.cloud.visionai.v1.ReceivePacketsControlResponse control = 3;
getControlOrBuilder()
public ReceivePacketsControlResponseOrBuilder getControlOrBuilder()
A control message from the server.
.google.cloud.visionai.v1.ReceivePacketsControlResponse control = 3;
getDefaultInstanceForType()
public ReceivePacketsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPacket()
public Packet getPacket()
A genuine data payload originating from the sender.
.google.cloud.visionai.v1.Packet packet = 1;
Returns |
Type |
Description |
Packet |
The packet.
|
getPacketBuilder()
public Packet.Builder getPacketBuilder()
A genuine data payload originating from the sender.
.google.cloud.visionai.v1.Packet packet = 1;
getPacketOrBuilder()
public PacketOrBuilder getPacketOrBuilder()
A genuine data payload originating from the sender.
.google.cloud.visionai.v1.Packet packet = 1;
getResponseCase()
public ReceivePacketsResponse.ResponseCase getResponseCase()
hasControl()
public boolean hasControl()
A control message from the server.
.google.cloud.visionai.v1.ReceivePacketsControlResponse control = 3;
Returns |
Type |
Description |
boolean |
Whether the control field is set.
|
hasPacket()
public boolean hasPacket()
A genuine data payload originating from the sender.
.google.cloud.visionai.v1.Packet packet = 1;
Returns |
Type |
Description |
boolean |
Whether the packet field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeControl(ReceivePacketsControlResponse value)
public ReceivePacketsResponse.Builder mergeControl(ReceivePacketsControlResponse value)
A control message from the server.
.google.cloud.visionai.v1.ReceivePacketsControlResponse control = 3;
mergeFrom(ReceivePacketsResponse other)
public ReceivePacketsResponse.Builder mergeFrom(ReceivePacketsResponse other)
public ReceivePacketsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReceivePacketsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergePacket(Packet value)
public ReceivePacketsResponse.Builder mergePacket(Packet value)
A genuine data payload originating from the sender.
.google.cloud.visionai.v1.Packet packet = 1;
Parameter |
Name |
Description |
value |
Packet
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReceivePacketsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setControl(ReceivePacketsControlResponse value)
public ReceivePacketsResponse.Builder setControl(ReceivePacketsControlResponse value)
A control message from the server.
.google.cloud.visionai.v1.ReceivePacketsControlResponse control = 3;
setControl(ReceivePacketsControlResponse.Builder builderForValue)
public ReceivePacketsResponse.Builder setControl(ReceivePacketsControlResponse.Builder builderForValue)
A control message from the server.
.google.cloud.visionai.v1.ReceivePacketsControlResponse control = 3;
setField(Descriptors.FieldDescriptor field, Object value)
public ReceivePacketsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPacket(Packet value)
public ReceivePacketsResponse.Builder setPacket(Packet value)
A genuine data payload originating from the sender.
.google.cloud.visionai.v1.Packet packet = 1;
Parameter |
Name |
Description |
value |
Packet
|
setPacket(Packet.Builder builderForValue)
public ReceivePacketsResponse.Builder setPacket(Packet.Builder builderForValue)
A genuine data payload originating from the sender.
.google.cloud.visionai.v1.Packet packet = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReceivePacketsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReceivePacketsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides