public final class Warning extends com.google.protobuf.GeneratedMessageV3 implements WarningOrBuilder
[Output Only] Informational warning message.Protobuf type
google.cloud.compute.v1.Warning| Modifier and Type | Class and Description |
|---|---|
static class |
Warning.Builder
[Output Only] Informational warning message.
|
static class |
Warning.Code
[Output Only] A warning code, if applicable.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CODE_FIELD_NUMBER |
static int |
DATA_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCode()
[Output Only] A warning code, if applicable.
|
com.google.protobuf.ByteString |
getCodeBytes()
[Output Only] A warning code, if applicable.
|
Data |
getData(int index)
[Output Only] Metadata about this warning in key: value format.
|
int |
getDataCount()
[Output Only] Metadata about this warning in key: value format.
|
List<Data> |
getDataList()
[Output Only] Metadata about this warning in key: value format.
|
DataOrBuilder |
getDataOrBuilder(int index)
[Output Only] Metadata about this warning in key: value format.
|
List<? extends DataOrBuilder> |
getDataOrBuilderList()
[Output Only] Metadata about this warning in key: value format.
|
static Warning |
getDefaultInstance() |
Warning |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getMessage()
[Output Only] A human-readable description of the warning code.
|
com.google.protobuf.ByteString |
getMessageBytes()
[Output Only] A human-readable description of the warning code.
|
com.google.protobuf.Parser<Warning> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCode()
[Output Only] A warning code, if applicable.
|
int |
hashCode() |
boolean |
hasMessage()
[Output Only] A human-readable description of the warning code.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Warning.Builder |
newBuilder() |
static Warning.Builder |
newBuilder(Warning prototype) |
Warning.Builder |
newBuilderForType() |
protected Warning.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Warning |
parseDelimitedFrom(InputStream input) |
static Warning |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Warning |
parseFrom(byte[] data) |
static Warning |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Warning |
parseFrom(ByteBuffer data) |
static Warning |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Warning |
parseFrom(com.google.protobuf.ByteString data) |
static Warning |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Warning |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Warning |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Warning |
parseFrom(InputStream input) |
static Warning |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Warning> |
parser() |
Warning.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CODE_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasCode()
[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. Check the Code enum for the list of possible values.
optional string code = 3059181;hasCode in interface WarningOrBuilderpublic String getCode()
[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. Check the Code enum for the list of possible values.
optional string code = 3059181;getCode in interface WarningOrBuilderpublic com.google.protobuf.ByteString getCodeBytes()
[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. Check the Code enum for the list of possible values.
optional string code = 3059181;getCodeBytes in interface WarningOrBuilderpublic List<Data> getDataList()
[Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
repeated .google.cloud.compute.v1.Data data = 3076010;getDataList in interface WarningOrBuilderpublic List<? extends DataOrBuilder> getDataOrBuilderList()
[Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
repeated .google.cloud.compute.v1.Data data = 3076010;getDataOrBuilderList in interface WarningOrBuilderpublic int getDataCount()
[Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
repeated .google.cloud.compute.v1.Data data = 3076010;getDataCount in interface WarningOrBuilderpublic Data getData(int index)
[Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
repeated .google.cloud.compute.v1.Data data = 3076010;getData in interface WarningOrBuilderpublic DataOrBuilder getDataOrBuilder(int index)
[Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
repeated .google.cloud.compute.v1.Data data = 3076010;getDataOrBuilder in interface WarningOrBuilderpublic boolean hasMessage()
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;hasMessage in interface WarningOrBuilderpublic String getMessage()
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;getMessage in interface WarningOrBuilderpublic com.google.protobuf.ByteString getMessageBytes()
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;getMessageBytes in interface WarningOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Warning parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Warning parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Warning parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Warning parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Warning parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Warning parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Warning parseFrom(InputStream input) throws IOException
IOExceptionpublic static Warning parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Warning parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Warning parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Warning parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Warning parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Warning.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Warning.Builder newBuilder()
public static Warning.Builder newBuilder(Warning prototype)
public Warning.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Warning.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Warning getDefaultInstance()
public static com.google.protobuf.Parser<Warning> parser()
public com.google.protobuf.Parser<Warning> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Warning getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.