public static final class SendPacketsRequest.Builder extends GeneratedMessageV3.Builder<SendPacketsRequest.Builder> implements SendPacketsRequestOrBuilder
Request message for sending packets.
Protobuf type google.cloud.visionai.v1.SendPacketsRequest
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 SendPacketsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SendPacketsRequest build()
buildPartial()
public SendPacketsRequest buildPartial()
clear()
public SendPacketsRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SendPacketsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public SendPacketsRequest.Builder clearMetadata()
The first message of the streaming rpc including the request metadata.
.google.cloud.visionai.v1.RequestMetadata metadata = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public SendPacketsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPacket()
public SendPacketsRequest.Builder clearPacket()
Packets sent over the streaming rpc.
.google.cloud.visionai.v1.Packet packet = 1;
clearRequest()
public SendPacketsRequest.Builder clearRequest()
clone()
public SendPacketsRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public SendPacketsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public RequestMetadata getMetadata()
The first message of the streaming rpc including the request metadata.
.google.cloud.visionai.v1.RequestMetadata metadata = 2;
public RequestMetadata.Builder getMetadataBuilder()
The first message of the streaming rpc including the request metadata.
.google.cloud.visionai.v1.RequestMetadata metadata = 2;
public RequestMetadataOrBuilder getMetadataOrBuilder()
The first message of the streaming rpc including the request metadata.
.google.cloud.visionai.v1.RequestMetadata metadata = 2;
getPacket()
public Packet getPacket()
Packets sent over the streaming rpc.
.google.cloud.visionai.v1.Packet packet = 1;
Returns |
Type |
Description |
Packet |
The packet.
|
getPacketBuilder()
public Packet.Builder getPacketBuilder()
Packets sent over the streaming rpc.
.google.cloud.visionai.v1.Packet packet = 1;
getPacketOrBuilder()
public PacketOrBuilder getPacketOrBuilder()
Packets sent over the streaming rpc.
.google.cloud.visionai.v1.Packet packet = 1;
getRequestCase()
public SendPacketsRequest.RequestCase getRequestCase()
public boolean hasMetadata()
The first message of the streaming rpc including the request metadata.
.google.cloud.visionai.v1.RequestMetadata metadata = 2;
Returns |
Type |
Description |
boolean |
Whether the metadata field is set.
|
hasPacket()
public boolean hasPacket()
Packets sent over the streaming rpc.
.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
mergeFrom(SendPacketsRequest other)
public SendPacketsRequest.Builder mergeFrom(SendPacketsRequest other)
public SendPacketsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SendPacketsRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public SendPacketsRequest.Builder mergeMetadata(RequestMetadata value)
The first message of the streaming rpc including the request metadata.
.google.cloud.visionai.v1.RequestMetadata metadata = 2;
mergePacket(Packet value)
public SendPacketsRequest.Builder mergePacket(Packet value)
Packets sent over the streaming rpc.
.google.cloud.visionai.v1.Packet packet = 1;
Parameter |
Name |
Description |
value |
Packet
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SendPacketsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SendPacketsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public SendPacketsRequest.Builder setMetadata(RequestMetadata value)
The first message of the streaming rpc including the request metadata.
.google.cloud.visionai.v1.RequestMetadata metadata = 2;
public SendPacketsRequest.Builder setMetadata(RequestMetadata.Builder builderForValue)
The first message of the streaming rpc including the request metadata.
.google.cloud.visionai.v1.RequestMetadata metadata = 2;
setPacket(Packet value)
public SendPacketsRequest.Builder setPacket(Packet value)
Packets sent over the streaming rpc.
.google.cloud.visionai.v1.Packet packet = 1;
Parameter |
Name |
Description |
value |
Packet
|
setPacket(Packet.Builder builderForValue)
public SendPacketsRequest.Builder setPacket(Packet.Builder builderForValue)
Packets sent over the streaming rpc.
.google.cloud.visionai.v1.Packet packet = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SendPacketsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SendPacketsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides