public static final class Warning.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder> implements WarningOrBuilder
[Output Only] Informational warning message.Protobuf type
google.cloud.compute.v1.Warning| Modifier and Type | Method and Description |
|---|---|
Warning.Builder |
addAllData(Iterable<? extends Data> values)
[Output Only] Metadata about this warning in key: value format.
|
Warning.Builder |
addData(Data.Builder builderForValue)
[Output Only] Metadata about this warning in key: value format.
|
Warning.Builder |
addData(Data value)
[Output Only] Metadata about this warning in key: value format.
|
Warning.Builder |
addData(int index,
Data.Builder builderForValue)
[Output Only] Metadata about this warning in key: value format.
|
Warning.Builder |
addData(int index,
Data value)
[Output Only] Metadata about this warning in key: value format.
|
Data.Builder |
addDataBuilder()
[Output Only] Metadata about this warning in key: value format.
|
Data.Builder |
addDataBuilder(int index)
[Output Only] Metadata about this warning in key: value format.
|
Warning.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Warning |
build() |
Warning |
buildPartial() |
Warning.Builder |
clear() |
Warning.Builder |
clearCode()
[Output Only] A warning code, if applicable.
|
Warning.Builder |
clearData()
[Output Only] Metadata about this warning in key: value format.
|
Warning.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Warning.Builder |
clearMessage()
[Output Only] A human-readable description of the warning code.
|
Warning.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Warning.Builder |
clone() |
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.
|
Data.Builder |
getDataBuilder(int index)
[Output Only] Metadata about this warning in key: value format.
|
List<Data.Builder> |
getDataBuilderList()
[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.
|
Warning |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
boolean |
hasCode()
[Output Only] A warning code, if applicable.
|
boolean |
hasMessage()
[Output Only] A human-readable description of the warning code.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Warning.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Warning.Builder |
mergeFrom(com.google.protobuf.Message other) |
Warning.Builder |
mergeFrom(Warning other) |
Warning.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Warning.Builder |
removeData(int index)
[Output Only] Metadata about this warning in key: value format.
|
Warning.Builder |
setCode(String value)
[Output Only] A warning code, if applicable.
|
Warning.Builder |
setCodeBytes(com.google.protobuf.ByteString value)
[Output Only] A warning code, if applicable.
|
Warning.Builder |
setData(int index,
Data.Builder builderForValue)
[Output Only] Metadata about this warning in key: value format.
|
Warning.Builder |
setData(int index,
Data value)
[Output Only] Metadata about this warning in key: value format.
|
Warning.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Warning.Builder |
setMessage(String value)
[Output Only] A human-readable description of the warning code.
|
Warning.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
[Output Only] A human-readable description of the warning code.
|
Warning.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Warning.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>public Warning.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>public Warning getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Warning build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Warning buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Warning.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>public Warning.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>public Warning.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>public Warning.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>public Warning.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>public Warning.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>public Warning.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Warning.Builder>public Warning.Builder mergeFrom(Warning other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>public Warning.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Warning.Builder>IOExceptionpublic 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 Warning.Builder setCode(String value)
[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;value - The code to set.public Warning.Builder clearCode()
[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;public Warning.Builder setCodeBytes(com.google.protobuf.ByteString value)
[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;value - The bytes for code to set.public 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 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 Warning.Builder setData(int index, Data value)
[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;public Warning.Builder setData(int index, Data.Builder builderForValue)
[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;public Warning.Builder addData(Data value)
[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;public Warning.Builder addData(int index, Data value)
[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;public Warning.Builder addData(Data.Builder builderForValue)
[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;public Warning.Builder addData(int index, Data.Builder builderForValue)
[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;public Warning.Builder addAllData(Iterable<? extends Data> values)
[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;public Warning.Builder clearData()
[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;public Warning.Builder removeData(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;public Data.Builder getDataBuilder(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;public 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 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 Data.Builder addDataBuilder()
[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;public Data.Builder addDataBuilder(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;public List<Data.Builder> getDataBuilderList()
[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;public 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 Warning.Builder setMessage(String value)
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;value - The message to set.public Warning.Builder clearMessage()
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;public Warning.Builder setMessageBytes(com.google.protobuf.ByteString value)
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;value - The bytes for message to set.public final Warning.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>public final Warning.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>Copyright © 2023 Google LLC. All rights reserved.