Interface PolicyBasedRoute.WarningsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PolicyBasedRoute.Warnings,PolicyBasedRoute.Warnings.Builder
- Enclosing class:
- PolicyBasedRoute
public static interface PolicyBasedRoute.WarningsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsData(String key) Output only.getCode()Output only.intOutput only.getData()Deprecated.intOutput only.Output only.getDataOrDefault(String key, String defaultValue) Output only.getDataOrThrow(String key) Output only.Output only.com.google.protobuf.ByteStringOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCodeValue
int getCodeValue()Output only. A warning code, if applicable.
.google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.Warnings.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for code.
-
getCode
PolicyBasedRoute.Warnings.Code getCode()Output only. A warning code, if applicable.
.google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.Warnings.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The code.
-
getDataCount
int getDataCount()Output only. Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement.
map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
containsData
Output only. Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement.
map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getData
Deprecated.UsegetDataMap()instead. -
getDataMap
Output only. Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement.
map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDataOrDefault
Output only. Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement.
map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDataOrThrow
Output only. Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement.
map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getWarningMessage
String getWarningMessage()Output only. A human-readable description of the warning code.
string warning_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The warningMessage.
-
getWarningMessageBytes
com.google.protobuf.ByteString getWarningMessageBytes()Output only. A human-readable description of the warning code.
string warning_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for warningMessage.
-