Package com.google.cloud.compute.v1
Class Warning.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>
-
- com.google.cloud.compute.v1.Warning.Builder
-
- All Implemented Interfaces:
WarningOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Warning
public static final class Warning.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder> implements WarningOrBuilder
[Output Only] Informational warning message.
Protobuf typegoogle.cloud.compute.v1.Warning
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Warning.BuilderaddAllData(Iterable<? extends Data> values)[Output Only] Metadata about this warning in key: value format.Warning.BuilderaddData(int index, Data value)[Output Only] Metadata about this warning in key: value format.Warning.BuilderaddData(int index, Data.Builder builderForValue)[Output Only] Metadata about this warning in key: value format.Warning.BuilderaddData(Data value)[Output Only] Metadata about this warning in key: value format.Warning.BuilderaddData(Data.Builder builderForValue)[Output Only] Metadata about this warning in key: value format.Data.BuilderaddDataBuilder()[Output Only] Metadata about this warning in key: value format.Data.BuilderaddDataBuilder(int index)[Output Only] Metadata about this warning in key: value format.Warning.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Warningbuild()WarningbuildPartial()Warning.Builderclear()Warning.BuilderclearCode()[Output Only] A warning code, if applicable.Warning.BuilderclearData()[Output Only] Metadata about this warning in key: value format.Warning.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Warning.BuilderclearMessage()[Output Only] A human-readable description of the warning code.Warning.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Warning.Builderclone()StringgetCode()[Output Only] A warning code, if applicable.com.google.protobuf.ByteStringgetCodeBytes()[Output Only] A warning code, if applicable.DatagetData(int index)[Output Only] Metadata about this warning in key: value format.Data.BuildergetDataBuilder(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.intgetDataCount()[Output Only] Metadata about this warning in key: value format.List<Data>getDataList()[Output Only] Metadata about this warning in key: value format.DataOrBuildergetDataOrBuilder(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.WarninggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetMessage()[Output Only] A human-readable description of the warning code.com.google.protobuf.ByteStringgetMessageBytes()[Output Only] A human-readable description of the warning code.booleanhasCode()[Output Only] A warning code, if applicable.booleanhasMessage()[Output Only] A human-readable description of the warning code.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Warning.BuildermergeFrom(Warning other)Warning.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Warning.BuildermergeFrom(com.google.protobuf.Message other)Warning.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Warning.BuilderremoveData(int index)[Output Only] Metadata about this warning in key: value format.Warning.BuildersetCode(String value)[Output Only] A warning code, if applicable.Warning.BuildersetCodeBytes(com.google.protobuf.ByteString value)[Output Only] A warning code, if applicable.Warning.BuildersetData(int index, Data value)[Output Only] Metadata about this warning in key: value format.Warning.BuildersetData(int index, Data.Builder builderForValue)[Output Only] Metadata about this warning in key: value format.Warning.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Warning.BuildersetMessage(String value)[Output Only] A human-readable description of the warning code.Warning.BuildersetMessageBytes(com.google.protobuf.ByteString value)[Output Only] A human-readable description of the warning code.Warning.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Warning.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>
-
clear
public Warning.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>
-
getDefaultInstanceForType
public Warning getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Warning build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Warning buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Warning.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>
-
setField
public Warning.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>
-
clearField
public Warning.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>
-
clearOneof
public Warning.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>
-
setRepeatedField
public Warning.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>
-
addRepeatedField
public Warning.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>
-
mergeFrom
public Warning.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Warning.Builder>
-
mergeFrom
public Warning.Builder mergeFrom(Warning other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>
-
mergeFrom
public Warning.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Warning.Builder>- Throws:
IOException
-
hasCode
public 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;- Specified by:
hasCodein interfaceWarningOrBuilder- Returns:
- Whether the code field is set.
-
getCode
public 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;- Specified by:
getCodein interfaceWarningOrBuilder- Returns:
- The code.
-
getCodeBytes
public 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;- Specified by:
getCodeBytesin interfaceWarningOrBuilder- Returns:
- The bytes for code.
-
setCode
public 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;- Parameters:
value- The code to set.- Returns:
- This builder for chaining.
-
clearCode
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;- Returns:
- This builder for chaining.
-
setCodeBytes
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;- Parameters:
value- The bytes for code to set.- Returns:
- This builder for chaining.
-
getDataList
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;- Specified by:
getDataListin interfaceWarningOrBuilder
-
getDataCount
public 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;- Specified by:
getDataCountin interfaceWarningOrBuilder
-
getData
public 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;- Specified by:
getDatain interfaceWarningOrBuilder
-
setData
public 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;
-
setData
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;
-
addData
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;
-
addData
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;
-
addData
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;
-
addData
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;
-
addAllData
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;
-
clearData
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;
-
removeData
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;
-
getDataBuilder
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;
-
getDataOrBuilder
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;- Specified by:
getDataOrBuilderin interfaceWarningOrBuilder
-
getDataOrBuilderList
public 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;- Specified by:
getDataOrBuilderListin interfaceWarningOrBuilder
-
addDataBuilder
public 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;
-
addDataBuilder
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;
-
getDataBuilderList
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;
-
hasMessage
public boolean hasMessage()
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;- Specified by:
hasMessagein interfaceWarningOrBuilder- Returns:
- Whether the message field is set.
-
getMessage
public String getMessage()
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;- Specified by:
getMessagein interfaceWarningOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;- Specified by:
getMessageBytesin interfaceWarningOrBuilder- Returns:
- The bytes for message.
-
setMessage
public Warning.Builder setMessage(String value)
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
public Warning.Builder clearMessage()
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;- Returns:
- This builder for chaining.
-
setMessageBytes
public Warning.Builder setMessageBytes(com.google.protobuf.ByteString value)
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Warning.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>
-
mergeUnknownFields
public final Warning.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Warning.Builder>
-
-