public static final class ServerMetadata.Builder extends GeneratedMessage.Builder<ServerMetadata.Builder> implements ServerMetadataOrBuilderThe message that represents server metadata.
Protobuf type google.cloud.visionai.v1.ServerMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ServerMetadata.BuilderImplements
ServerMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ServerMetadata build()| Returns | |
|---|---|
| Type | Description |
ServerMetadata |
|
buildPartial()
public ServerMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
ServerMetadata |
|
clear()
public ServerMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
ServerMetadata.Builder |
|
clearIngestTime()
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;
| Returns | |
|---|---|
| Type | Description |
ServerMetadata.Builder |
|
clearOffset()
public ServerMetadata.Builder clearOffset()The offset position for the packet in its stream.
int64 offset = 1;
| Returns | |
|---|---|
| Type | Description |
ServerMetadata.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ServerMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ServerMetadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIngestTime()
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. |
getIngestTimeBuilder()
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;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getIngestTimeOrBuilder()
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;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getOffset()
public long getOffset()The offset position for the packet in its stream.
int64 offset = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The offset. |
hasIngestTime()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ServerMetadata other)
public ServerMetadata.Builder mergeFrom(ServerMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
ServerMetadata |
| Returns | |
|---|---|
| Type | Description |
ServerMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServerMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ServerMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ServerMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ServerMetadata.Builder |
|
mergeIngestTime(Timestamp value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ServerMetadata.Builder |
|
setIngestTime(Timestamp value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ServerMetadata.Builder |
|
setIngestTime(Timestamp.Builder builderForValue)
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 |
| Returns | |
|---|---|
| Type | Description |
ServerMetadata.Builder |
|
setOffset(long value)
public ServerMetadata.Builder setOffset(long value)The offset position for the packet in its stream.
int64 offset = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe offset to set. |
| Returns | |
|---|---|
| Type | Description |
ServerMetadata.Builder |
This builder for chaining. |