Package com.google.cloud.compute.v1
Class Warnings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Warnings.Builder>
com.google.cloud.compute.v1.Warnings.Builder
- All Implemented Interfaces:
WarningsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Warnings
public static final class Warnings.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Warnings.Builder>
implements WarningsOrBuilder
Protobuf type
google.cloud.compute.v1.Warnings-
Method Summary
Modifier and TypeMethodDescriptionaddAllData(Iterable<? extends Data> values) [Output Only] Metadata about this warning in key: value format.[Output Only] Metadata about this warning in key: value format.addData(int index, Data.Builder builderForValue) [Output Only] Metadata about this warning in key: value format.[Output Only] Metadata about this warning in key: value format.addData(Data.Builder builderForValue) [Output Only] Metadata about this warning in key: value format.[Output Only] Metadata about this warning in key: value format.addDataBuilder(int index) [Output Only] Metadata about this warning in key: value format.build()clear()[Output Only] A warning code, if applicable.[Output Only] Metadata about this warning in key: value format.[Output Only] A human-readable description of the warning code.getCode()[Output Only] A warning code, if applicable.com.google.protobuf.ByteString[Output Only] A warning code, if applicable.getData(int index) [Output Only] Metadata about this warning in key: value format.getDataBuilder(int index) [Output Only] Metadata about this warning in key: value format.[Output Only] Metadata about this warning in key: value format.int[Output Only] Metadata about this warning in key: value format.[Output Only] Metadata about this warning in key: value format.getDataOrBuilder(int index) [Output Only] Metadata about this warning in key: value format.List<? extends DataOrBuilder>[Output Only] Metadata about this warning in key: value format.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor[Output Only] A human-readable description of the warning code.com.google.protobuf.ByteString[Output Only] A human-readable description of the warning code.booleanhasCode()[Output Only] A warning code, if applicable.boolean[Output Only] A human-readable description of the warning code.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeData(int index) [Output Only] Metadata about this warning in key: value format.[Output Only] A warning code, if applicable.setCodeBytes(com.google.protobuf.ByteString value) [Output Only] A warning code, if applicable.[Output Only] Metadata about this warning in key: value format.setData(int index, Data.Builder builderForValue) [Output Only] Metadata about this warning in key: value format.setMessage(String value) [Output Only] A human-readable description of the warning code.setMessageBytes(com.google.protobuf.ByteString value) [Output Only] A human-readable description of the warning code.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Warnings.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Warnings.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.GeneratedMessage.Builder<Warnings.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Warnings.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Warnings.Builder>
-
mergeFrom
public Warnings.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<Warnings.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 interfaceWarningsOrBuilder- Returns:
- Whether the code field is set.
-
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 interfaceWarningsOrBuilder- 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 interfaceWarningsOrBuilder- Returns:
- The bytes for code.
-
setCode
[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
[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
[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
[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 interfaceWarningsOrBuilder
-
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 interfaceWarningsOrBuilder
-
getData
[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 interfaceWarningsOrBuilder
-
setData
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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 interfaceWarningsOrBuilder
-
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 interfaceWarningsOrBuilder
-
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
[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
[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 interfaceWarningsOrBuilder- Returns:
- Whether the message field is set.
-
getMessage
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;- Specified by:
getMessagein interfaceWarningsOrBuilder- 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 interfaceWarningsOrBuilder- Returns:
- The bytes for message.
-
setMessage
[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
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;- Returns:
- This builder for chaining.
-
setMessageBytes
[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.
-