public static final class ServerMetadata.Builder extends GeneratedMessageV3.Builder<ServerMetadata.Builder> implements ServerMetadataOrBuilder
The message that represents server metadata.
Protobuf type google.cloud.visionai.v1.ServerMetadata
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public ServerMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ServerMetadata build()
public ServerMetadata buildPartial()
public ServerMetadata.Builder clear()
Overrides
public ServerMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ServerMetadata.Builder clearIngestTime()
The timestamp at which the stream server receives this packet. This is
based on the local clock of on the server side. It is guaranteed to be
monotonically increasing for the packets within each session; however
this timestamp is not comparable across packets sent to the same stream
different sessions. Session here refers to one individual gRPC streaming
request to the stream server.
.google.protobuf.Timestamp ingest_time = 2;
public ServerMetadata.Builder clearOffset()
The offset position for the packet in its stream.
int64 offset = 1;
public ServerMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ServerMetadata.Builder clone()
Overrides
public ServerMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Timestamp getIngestTime()
The timestamp at which the stream server receives this packet. This is
based on the local clock of on the server side. It is guaranteed to be
monotonically increasing for the packets within each session; however
this timestamp is not comparable across packets sent to the same stream
different sessions. Session here refers to one individual gRPC streaming
request to the stream server.
.google.protobuf.Timestamp ingest_time = 2;
Returns |
Type |
Description |
Timestamp |
The ingestTime.
|
public Timestamp.Builder getIngestTimeBuilder()
The timestamp at which the stream server receives this packet. This is
based on the local clock of on the server side. It is guaranteed to be
monotonically increasing for the packets within each session; however
this timestamp is not comparable across packets sent to the same stream
different sessions. Session here refers to one individual gRPC streaming
request to the stream server.
.google.protobuf.Timestamp ingest_time = 2;
public TimestampOrBuilder getIngestTimeOrBuilder()
The timestamp at which the stream server receives this packet. This is
based on the local clock of on the server side. It is guaranteed to be
monotonically increasing for the packets within each session; however
this timestamp is not comparable across packets sent to the same stream
different sessions. Session here refers to one individual gRPC streaming
request to the stream server.
.google.protobuf.Timestamp ingest_time = 2;
The offset position for the packet in its stream.
int64 offset = 1;
Returns |
Type |
Description |
long |
The offset.
|
public boolean hasIngestTime()
The timestamp at which the stream server receives this packet. This is
based on the local clock of on the server side. It is guaranteed to be
monotonically increasing for the packets within each session; however
this timestamp is not comparable across packets sent to the same stream
different sessions. Session here refers to one individual gRPC streaming
request to the stream server.
.google.protobuf.Timestamp ingest_time = 2;
Returns |
Type |
Description |
boolean |
Whether the ingestTime field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ServerMetadata.Builder mergeFrom(ServerMetadata other)
public ServerMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ServerMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ServerMetadata.Builder mergeIngestTime(Timestamp value)
The timestamp at which the stream server receives this packet. This is
based on the local clock of on the server side. It is guaranteed to be
monotonically increasing for the packets within each session; however
this timestamp is not comparable across packets sent to the same stream
different sessions. Session here refers to one individual gRPC streaming
request to the stream server.
.google.protobuf.Timestamp ingest_time = 2;
public final ServerMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ServerMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ServerMetadata.Builder setIngestTime(Timestamp value)
The timestamp at which the stream server receives this packet. This is
based on the local clock of on the server side. It is guaranteed to be
monotonically increasing for the packets within each session; however
this timestamp is not comparable across packets sent to the same stream
different sessions. Session here refers to one individual gRPC streaming
request to the stream server.
.google.protobuf.Timestamp ingest_time = 2;
public ServerMetadata.Builder setIngestTime(Timestamp.Builder builderForValue)
The timestamp at which the stream server receives this packet. This is
based on the local clock of on the server side. It is guaranteed to be
monotonically increasing for the packets within each session; however
this timestamp is not comparable across packets sent to the same stream
different sessions. Session here refers to one individual gRPC streaming
request to the stream server.
.google.protobuf.Timestamp ingest_time = 2;
Parameter |
Name |
Description |
builderForValue |
Builder
|
public ServerMetadata.Builder setOffset(long value)
The offset position for the packet in its stream.
int64 offset = 1;
Parameter |
Name |
Description |
value |
long
The offset to set.
|
public ServerMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ServerMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides