public static final class ServiceLatency.InternalServiceLatency.Builder extends GeneratedMessage.Builder<ServiceLatency.InternalServiceLatency.Builder> implements ServiceLatency.InternalServiceLatencyOrBuilderMessage to represent the latency of an internal service.
Protobuf type google.cloud.dialogflow.v2.ServiceLatency.InternalServiceLatency
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ServiceLatency.InternalServiceLatency.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ServiceLatency.InternalServiceLatency build()| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency |
|
buildPartial()
public ServiceLatency.InternalServiceLatency buildPartial()| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency |
|
clear()
public ServiceLatency.InternalServiceLatency.Builder clear()| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency.Builder |
|
clearCompleteTime()
public ServiceLatency.InternalServiceLatency.Builder clearCompleteTime()The completion time of the internal service.
.google.protobuf.Timestamp complete_time = 4;
| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency.Builder |
|
clearLatencyMs()
public ServiceLatency.InternalServiceLatency.Builder clearLatencyMs()The latency of the internal service in milliseconds.
float latency_ms = 2;
| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency.Builder |
This builder for chaining. |
clearStartTime()
public ServiceLatency.InternalServiceLatency.Builder clearStartTime()The start time of the internal service.
.google.protobuf.Timestamp start_time = 3;
| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency.Builder |
|
clearStep()
public ServiceLatency.InternalServiceLatency.Builder clearStep()The name of the internal service.
string step = 1;
| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency.Builder |
This builder for chaining. |
getCompleteTime()
public Timestamp getCompleteTime()The completion time of the internal service.
.google.protobuf.Timestamp complete_time = 4;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The completeTime. |
getCompleteTimeBuilder()
public Timestamp.Builder getCompleteTimeBuilder()The completion time of the internal service.
.google.protobuf.Timestamp complete_time = 4;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCompleteTimeOrBuilder()
public TimestampOrBuilder getCompleteTimeOrBuilder()The completion time of the internal service.
.google.protobuf.Timestamp complete_time = 4;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public ServiceLatency.InternalServiceLatency getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLatencyMs()
public float getLatencyMs()The latency of the internal service in milliseconds.
float latency_ms = 2;
| Returns | |
|---|---|
| Type | Description |
float |
The latencyMs. |
getStartTime()
public Timestamp getStartTime()The start time of the internal service.
.google.protobuf.Timestamp start_time = 3;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()The start time of the internal service.
.google.protobuf.Timestamp start_time = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()The start time of the internal service.
.google.protobuf.Timestamp start_time = 3;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getStep()
public String getStep()The name of the internal service.
string step = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The step. |
getStepBytes()
public ByteString getStepBytes()The name of the internal service.
string step = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for step. |
hasCompleteTime()
public boolean hasCompleteTime()The completion time of the internal service.
.google.protobuf.Timestamp complete_time = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the completeTime field is set. |
hasStartTime()
public boolean hasStartTime()The start time of the internal service.
.google.protobuf.Timestamp start_time = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCompleteTime(Timestamp value)
public ServiceLatency.InternalServiceLatency.Builder mergeCompleteTime(Timestamp value)The completion time of the internal service.
.google.protobuf.Timestamp complete_time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency.Builder |
|
mergeFrom(ServiceLatency.InternalServiceLatency other)
public ServiceLatency.InternalServiceLatency.Builder mergeFrom(ServiceLatency.InternalServiceLatency other)| Parameter | |
|---|---|
| Name | Description |
other |
ServiceLatency.InternalServiceLatency |
| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServiceLatency.InternalServiceLatency.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ServiceLatency.InternalServiceLatency.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency.Builder |
|
mergeStartTime(Timestamp value)
public ServiceLatency.InternalServiceLatency.Builder mergeStartTime(Timestamp value)The start time of the internal service.
.google.protobuf.Timestamp start_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency.Builder |
|
setCompleteTime(Timestamp value)
public ServiceLatency.InternalServiceLatency.Builder setCompleteTime(Timestamp value)The completion time of the internal service.
.google.protobuf.Timestamp complete_time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency.Builder |
|
setCompleteTime(Timestamp.Builder builderForValue)
public ServiceLatency.InternalServiceLatency.Builder setCompleteTime(Timestamp.Builder builderForValue)The completion time of the internal service.
.google.protobuf.Timestamp complete_time = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency.Builder |
|
setLatencyMs(float value)
public ServiceLatency.InternalServiceLatency.Builder setLatencyMs(float value)The latency of the internal service in milliseconds.
float latency_ms = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe latencyMs to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency.Builder |
This builder for chaining. |
setStartTime(Timestamp value)
public ServiceLatency.InternalServiceLatency.Builder setStartTime(Timestamp value)The start time of the internal service.
.google.protobuf.Timestamp start_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency.Builder |
|
setStartTime(Timestamp.Builder builderForValue)
public ServiceLatency.InternalServiceLatency.Builder setStartTime(Timestamp.Builder builderForValue)The start time of the internal service.
.google.protobuf.Timestamp start_time = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency.Builder |
|
setStep(String value)
public ServiceLatency.InternalServiceLatency.Builder setStep(String value)The name of the internal service.
string step = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe step to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency.Builder |
This builder for chaining. |
setStepBytes(ByteString value)
public ServiceLatency.InternalServiceLatency.Builder setStepBytes(ByteString value)The name of the internal service.
string step = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for step to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceLatency.InternalServiceLatency.Builder |
This builder for chaining. |