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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Warnings.Builder> implements WarningsOrBuilder
google.cloud.compute.v1.Warnings
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Warnings.Builder
addAllData(Iterable<? extends Data> values)
[Output Only] Metadata about this warning in key: value format.Warnings.Builder
addData(int index, Data value)
[Output Only] Metadata about this warning in key: value format.Warnings.Builder
addData(int index, Data.Builder builderForValue)
[Output Only] Metadata about this warning in key: value format.Warnings.Builder
addData(Data value)
[Output Only] Metadata about this warning in key: value format.Warnings.Builder
addData(Data.Builder builderForValue)
[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.Warnings.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Warnings
build()
Warnings
buildPartial()
Warnings.Builder
clear()
Warnings.Builder
clearCode()
[Output Only] A warning code, if applicable.Warnings.Builder
clearData()
[Output Only] Metadata about this warning in key: value format.Warnings.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Warnings.Builder
clearMessage()
[Output Only] A human-readable description of the warning code.Warnings.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Warnings.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.Warnings
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()
Warnings.Builder
mergeFrom(Warnings other)
Warnings.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Warnings.Builder
mergeFrom(com.google.protobuf.Message other)
Warnings.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Warnings.Builder
removeData(int index)
[Output Only] Metadata about this warning in key: value format.Warnings.Builder
setCode(String value)
[Output Only] A warning code, if applicable.Warnings.Builder
setCodeBytes(com.google.protobuf.ByteString value)
[Output Only] A warning code, if applicable.Warnings.Builder
setData(int index, Data value)
[Output Only] Metadata about this warning in key: value format.Warnings.Builder
setData(int index, Data.Builder builderForValue)
[Output Only] Metadata about this warning in key: value format.Warnings.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Warnings.Builder
setMessage(String value)
[Output Only] A human-readable description of the warning code.Warnings.Builder
setMessageBytes(com.google.protobuf.ByteString value)
[Output Only] A human-readable description of the warning code.Warnings.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Warnings.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Warnings.Builder>
-
clear
public Warnings.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Warnings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Warnings.Builder>
-
getDefaultInstanceForType
public Warnings getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Warnings build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Warnings buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Warnings.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Warnings.Builder>
-
setField
public Warnings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Warnings.Builder>
-
clearField
public Warnings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Warnings.Builder>
-
clearOneof
public Warnings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Warnings.Builder>
-
setRepeatedField
public Warnings.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Warnings.Builder>
-
addRepeatedField
public Warnings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Warnings.Builder>
-
mergeFrom
public Warnings.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Warnings.Builder>
-
mergeFrom
public Warnings.Builder mergeFrom(Warnings other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Warnings.Builder>
-
mergeFrom
public Warnings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasCode
in interfaceWarningsOrBuilder
- 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:
getCode
in 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:
getCodeBytes
in interfaceWarningsOrBuilder
- Returns:
- The bytes for code.
-
setCode
public Warnings.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 Warnings.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 Warnings.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:
getDataList
in 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:
getDataCount
in interfaceWarningsOrBuilder
-
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:
getData
in interfaceWarningsOrBuilder
-
setData
public Warnings.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 Warnings.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 Warnings.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 Warnings.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 Warnings.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 Warnings.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 Warnings.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 Warnings.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 Warnings.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:
getDataOrBuilder
in interfaceWarningsOrBuilder
-
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:
getDataOrBuilderList
in interfaceWarningsOrBuilder
-
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:
hasMessage
in interfaceWarningsOrBuilder
- 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:
getMessage
in 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:
getMessageBytes
in interfaceWarningsOrBuilder
- Returns:
- The bytes for message.
-
setMessage
public Warnings.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 Warnings.Builder clearMessage()
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;
- Returns:
- This builder for chaining.
-
setMessageBytes
public Warnings.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 Warnings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Warnings.Builder>
-
mergeUnknownFields
public final Warnings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Warnings.Builder>
-
-