Package com.google.cloud.dialogflow.v2
Class ServiceLatency.InternalServiceLatency.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ServiceLatency.InternalServiceLatency.Builder>
com.google.cloud.dialogflow.v2.ServiceLatency.InternalServiceLatency.Builder
- All Implemented Interfaces:
ServiceLatency.InternalServiceLatencyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ServiceLatency.InternalServiceLatency
public static final class ServiceLatency.InternalServiceLatency.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ServiceLatency.InternalServiceLatency.Builder>
implements ServiceLatency.InternalServiceLatencyOrBuilder
Message to represent the latency of an internal service.Protobuf type
google.cloud.dialogflow.v2.ServiceLatency.InternalServiceLatency-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The completion time of the internal service.The latency of the internal service in milliseconds.The start time of the internal service.The name of the internal service.com.google.protobuf.TimestampThe completion time of the internal service.com.google.protobuf.Timestamp.BuilderThe completion time of the internal service.com.google.protobuf.TimestampOrBuilderThe completion time of the internal service.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorfloatThe latency of the internal service in milliseconds.com.google.protobuf.TimestampThe start time of the internal service.com.google.protobuf.Timestamp.BuilderThe start time of the internal service.com.google.protobuf.TimestampOrBuilderThe start time of the internal service.getStep()The name of the internal service.com.google.protobuf.ByteStringThe name of the internal service.booleanThe completion time of the internal service.booleanThe start time of the internal service.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCompleteTime(com.google.protobuf.Timestamp value) The completion time of the internal service.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTime(com.google.protobuf.Timestamp value) The start time of the internal service.setCompleteTime(com.google.protobuf.Timestamp value) The completion time of the internal service.setCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue) The completion time of the internal service.setLatencyMs(float value) The latency of the internal service in milliseconds.setStartTime(com.google.protobuf.Timestamp value) The start time of the internal service.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) The start time of the internal service.The name of the internal service.setStepBytes(com.google.protobuf.ByteString value) The name of the internal service.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ServiceLatency.InternalServiceLatency.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ServiceLatency.InternalServiceLatency.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ServiceLatency.InternalServiceLatency.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServiceLatency.InternalServiceLatency.Builder>
-
mergeFrom
public ServiceLatency.InternalServiceLatency.Builder mergeFrom(ServiceLatency.InternalServiceLatency other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ServiceLatency.InternalServiceLatency.Builder>
-
mergeFrom
public ServiceLatency.InternalServiceLatency.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServiceLatency.InternalServiceLatency.Builder>- Throws:
IOException
-
getStep
The name of the internal service.
string step = 1;- Specified by:
getStepin interfaceServiceLatency.InternalServiceLatencyOrBuilder- Returns:
- The step.
-
getStepBytes
public com.google.protobuf.ByteString getStepBytes()The name of the internal service.
string step = 1;- Specified by:
getStepBytesin interfaceServiceLatency.InternalServiceLatencyOrBuilder- Returns:
- The bytes for step.
-
setStep
The name of the internal service.
string step = 1;- Parameters:
value- The step to set.- Returns:
- This builder for chaining.
-
clearStep
The name of the internal service.
string step = 1;- Returns:
- This builder for chaining.
-
setStepBytes
public ServiceLatency.InternalServiceLatency.Builder setStepBytes(com.google.protobuf.ByteString value) The name of the internal service.
string step = 1;- Parameters:
value- The bytes for step to set.- Returns:
- This builder for chaining.
-
getLatencyMs
public float getLatencyMs()The latency of the internal service in milliseconds.
float latency_ms = 2;- Specified by:
getLatencyMsin interfaceServiceLatency.InternalServiceLatencyOrBuilder- Returns:
- The latencyMs.
-
setLatencyMs
The latency of the internal service in milliseconds.
float latency_ms = 2;- Parameters:
value- The latencyMs to set.- Returns:
- This builder for chaining.
-
clearLatencyMs
The latency of the internal service in milliseconds.
float latency_ms = 2;- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()The start time of the internal service.
.google.protobuf.Timestamp start_time = 3;- Specified by:
hasStartTimein interfaceServiceLatency.InternalServiceLatencyOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()The start time of the internal service.
.google.protobuf.Timestamp start_time = 3;- Specified by:
getStartTimein interfaceServiceLatency.InternalServiceLatencyOrBuilder- Returns:
- The startTime.
-
setStartTime
public ServiceLatency.InternalServiceLatency.Builder setStartTime(com.google.protobuf.Timestamp value) The start time of the internal service.
.google.protobuf.Timestamp start_time = 3; -
setStartTime
public ServiceLatency.InternalServiceLatency.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) The start time of the internal service.
.google.protobuf.Timestamp start_time = 3; -
mergeStartTime
public ServiceLatency.InternalServiceLatency.Builder mergeStartTime(com.google.protobuf.Timestamp value) The start time of the internal service.
.google.protobuf.Timestamp start_time = 3; -
clearStartTime
The start time of the internal service.
.google.protobuf.Timestamp start_time = 3; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()The start time of the internal service.
.google.protobuf.Timestamp start_time = 3; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()The start time of the internal service.
.google.protobuf.Timestamp start_time = 3;- Specified by:
getStartTimeOrBuilderin interfaceServiceLatency.InternalServiceLatencyOrBuilder
-
hasCompleteTime
public boolean hasCompleteTime()The completion time of the internal service.
.google.protobuf.Timestamp complete_time = 4;- Specified by:
hasCompleteTimein interfaceServiceLatency.InternalServiceLatencyOrBuilder- Returns:
- Whether the completeTime field is set.
-
getCompleteTime
public com.google.protobuf.Timestamp getCompleteTime()The completion time of the internal service.
.google.protobuf.Timestamp complete_time = 4;- Specified by:
getCompleteTimein interfaceServiceLatency.InternalServiceLatencyOrBuilder- Returns:
- The completeTime.
-
setCompleteTime
public ServiceLatency.InternalServiceLatency.Builder setCompleteTime(com.google.protobuf.Timestamp value) The completion time of the internal service.
.google.protobuf.Timestamp complete_time = 4; -
setCompleteTime
public ServiceLatency.InternalServiceLatency.Builder setCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue) The completion time of the internal service.
.google.protobuf.Timestamp complete_time = 4; -
mergeCompleteTime
public ServiceLatency.InternalServiceLatency.Builder mergeCompleteTime(com.google.protobuf.Timestamp value) The completion time of the internal service.
.google.protobuf.Timestamp complete_time = 4; -
clearCompleteTime
The completion time of the internal service.
.google.protobuf.Timestamp complete_time = 4; -
getCompleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getCompleteTimeBuilder()The completion time of the internal service.
.google.protobuf.Timestamp complete_time = 4; -
getCompleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCompleteTimeOrBuilder()The completion time of the internal service.
.google.protobuf.Timestamp complete_time = 4;- Specified by:
getCompleteTimeOrBuilderin interfaceServiceLatency.InternalServiceLatencyOrBuilder
-