public static final class LatencyReport.GuardrailLatency extends GeneratedMessage implements LatencyReport.GuardrailLatencyOrBuilder
Latency metrics for a single guardrail.
Protobuf type google.cloud.ces.v1beta.LatencyReport.GuardrailLatency
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
GUARDRAIL_DISPLAY_NAME_FIELD_NUMBER
public static final int GUARDRAIL_DISPLAY_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
GUARDRAIL_FIELD_NUMBER
public static final int GUARDRAIL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LATENCY_METRICS_FIELD_NUMBER
public static final int LATENCY_METRICS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static LatencyReport.GuardrailLatency getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LatencyReport.GuardrailLatency.Builder newBuilder()
newBuilder(LatencyReport.GuardrailLatency prototype)
public static LatencyReport.GuardrailLatency.Builder newBuilder(LatencyReport.GuardrailLatency prototype)
public static LatencyReport.GuardrailLatency parseDelimitedFrom(InputStream input)
public static LatencyReport.GuardrailLatency parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LatencyReport.GuardrailLatency parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LatencyReport.GuardrailLatency parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LatencyReport.GuardrailLatency parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LatencyReport.GuardrailLatency parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LatencyReport.GuardrailLatency parseFrom(CodedInputStream input)
public static LatencyReport.GuardrailLatency parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LatencyReport.GuardrailLatency parseFrom(InputStream input)
public static LatencyReport.GuardrailLatency parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LatencyReport.GuardrailLatency parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LatencyReport.GuardrailLatency parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LatencyReport.GuardrailLatency> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public LatencyReport.GuardrailLatency getDefaultInstanceForType()
getGuardrail()
public String getGuardrail()
Output only. The name of the guardrail.
Format:
projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}.
string guardrail = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The guardrail.
|
getGuardrailBytes()
public ByteString getGuardrailBytes()
Output only. The name of the guardrail.
Format:
projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}.
string guardrail = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for guardrail.
|
getGuardrailDisplayName()
public String getGuardrailDisplayName()
Output only. The display name of the guardrail.
string guardrail_display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The guardrailDisplayName.
|
getGuardrailDisplayNameBytes()
public ByteString getGuardrailDisplayNameBytes()
Output only. The display name of the guardrail.
string guardrail_display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for guardrailDisplayName.
|
getLatencyMetrics()
public LatencyReport.LatencyMetrics getLatencyMetrics()
Output only. The latency metrics for the guardrail.
.google.cloud.ces.v1beta.LatencyReport.LatencyMetrics latency_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLatencyMetricsOrBuilder()
public LatencyReport.LatencyMetricsOrBuilder getLatencyMetricsOrBuilder()
Output only. The latency metrics for the guardrail.
.google.cloud.ces.v1beta.LatencyReport.LatencyMetrics latency_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getParserForType()
public Parser<LatencyReport.GuardrailLatency> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasLatencyMetrics()
public boolean hasLatencyMetrics()
Output only. The latency metrics for the guardrail.
.google.cloud.ces.v1beta.LatencyReport.LatencyMetrics latency_metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the latencyMetrics field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LatencyReport.GuardrailLatency.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected LatencyReport.GuardrailLatency.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public LatencyReport.GuardrailLatency.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides