public static final class PolicyBasedRoute.Warnings extends GeneratedMessageV3 implements PolicyBasedRoute.WarningsOrBuilder
Informational warning message.
Protobuf type google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CODE_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
WARNING_MESSAGE_FIELD_NUMBER
public static final int WARNING_MESSAGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static PolicyBasedRoute.Warnings getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PolicyBasedRoute.Warnings.Builder newBuilder()
newBuilder(PolicyBasedRoute.Warnings prototype)
public static PolicyBasedRoute.Warnings.Builder newBuilder(PolicyBasedRoute.Warnings prototype)
public static PolicyBasedRoute.Warnings parseDelimitedFrom(InputStream input)
public static PolicyBasedRoute.Warnings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PolicyBasedRoute.Warnings parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PolicyBasedRoute.Warnings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PolicyBasedRoute.Warnings parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PolicyBasedRoute.Warnings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PolicyBasedRoute.Warnings parseFrom(CodedInputStream input)
public static PolicyBasedRoute.Warnings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PolicyBasedRoute.Warnings parseFrom(InputStream input)
public static PolicyBasedRoute.Warnings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PolicyBasedRoute.Warnings parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PolicyBasedRoute.Warnings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PolicyBasedRoute.Warnings> parser()
Methods
containsData(String key)
public boolean containsData(String key)
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];
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCode()
public PolicyBasedRoute.Warnings.Code getCode()
Output only. A warning code, if applicable.
.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCodeValue()
public int getCodeValue()
Output only. A warning code, if applicable.
.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for code.
|
getData() (deprecated)
public Map<String,String> getData()
getDataCount()
public 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];
Returns |
Type |
Description |
int |
|
getDataMap()
public Map<String,String> 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(String key, String defaultValue)
public String getDataOrDefault(String key, String defaultValue)
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];
Returns |
Type |
Description |
String |
|
getDataOrThrow(String key)
public String getDataOrThrow(String key)
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];
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getDefaultInstanceForType()
public PolicyBasedRoute.Warnings getDefaultInstanceForType()
getParserForType()
public Parser<PolicyBasedRoute.Warnings> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getWarningMessage()
public String getWarningMessage()
Output only. A human-readable description of the warning code.
string warning_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The warningMessage.
|
getWarningMessageBytes()
public ByteString getWarningMessageBytes()
Output only. A human-readable description of the warning code.
string warning_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for warningMessage.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PolicyBasedRoute.Warnings.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PolicyBasedRoute.Warnings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PolicyBasedRoute.Warnings.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides