- 1.65.0 (latest)
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class Warnings.Builder extends GeneratedMessageV3.Builder<Warnings.Builder> implements WarningsOrBuilder
Protobuf type google.cloud.compute.v1.Warnings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Warnings.BuilderImplements
WarningsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllData(Iterable<? extends Data> values)
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;
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.Data> |
Type | Description |
Warnings.Builder |
addData(Data value)
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;
Name | Description |
value | Data |
Type | Description |
Warnings.Builder |
addData(Data.Builder builderForValue)
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;
Name | Description |
builderForValue | Data.Builder |
Type | Description |
Warnings.Builder |
addData(int index, Data value)
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;
Name | Description |
index | int |
value | Data |
Type | Description |
Warnings.Builder |
addData(int index, Data.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Data.Builder |
Type | Description |
Warnings.Builder |
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;
Type | Description |
Data.Builder |
addDataBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
Data.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Warnings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Warnings.Builder |
build()
public Warnings build()
Type | Description |
Warnings |
buildPartial()
public Warnings buildPartial()
Type | Description |
Warnings |
clear()
public Warnings.Builder clear()
Type | Description |
Warnings.Builder |
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;
Type | Description |
Warnings.Builder | This builder for chaining. |
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;
Type | Description |
Warnings.Builder |
clearField(Descriptors.FieldDescriptor field)
public Warnings.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Warnings.Builder |
clearMessage()
public Warnings.Builder clearMessage()
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;
Type | Description |
Warnings.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Warnings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Warnings.Builder |
clone()
public Warnings.Builder clone()
Type | Description |
Warnings.Builder |
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;
Type | Description |
String | The code. |
getCodeBytes()
public 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;
Type | Description |
ByteString | The bytes for code. |
getData(int index)
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;
Name | Description |
index | int |
Type | Description |
Data |
getDataBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
Data.Builder |
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;
Type | Description |
List<Builder> |
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;
Type | Description |
int |
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;
Type | Description |
List<Data> |
getDataOrBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
DataOrBuilder |
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;
Type | Description |
List<? extends com.google.cloud.compute.v1.DataOrBuilder> |
getDefaultInstanceForType()
public Warnings getDefaultInstanceForType()
Type | Description |
Warnings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMessage()
public String getMessage()
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;
Type | Description |
String | The message. |
getMessageBytes()
public ByteString getMessageBytes()
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;
Type | Description |
ByteString | The bytes for message. |
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;
Type | Description |
boolean | Whether the code field is set. |
hasMessage()
public boolean hasMessage()
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;
Type | Description |
boolean | Whether the message field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Warnings other)
public Warnings.Builder mergeFrom(Warnings other)
Name | Description |
other | Warnings |
Type | Description |
Warnings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Warnings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Warnings.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Warnings.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Warnings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Warnings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Warnings.Builder |
removeData(int index)
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;
Name | Description |
index | int |
Type | Description |
Warnings.Builder |
setCode(String value)
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;
Name | Description |
value | String The code to set. |
Type | Description |
Warnings.Builder | This builder for chaining. |
setCodeBytes(ByteString value)
public Warnings.Builder setCodeBytes(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;
Name | Description |
value | ByteString The bytes for code to set. |
Type | Description |
Warnings.Builder | This builder for chaining. |
setData(int index, Data value)
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;
Name | Description |
index | int |
value | Data |
Type | Description |
Warnings.Builder |
setData(int index, Data.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Data.Builder |
Type | Description |
Warnings.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Warnings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Warnings.Builder |
setMessage(String value)
public Warnings.Builder setMessage(String value)
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;
Name | Description |
value | String The message to set. |
Type | Description |
Warnings.Builder | This builder for chaining. |
setMessageBytes(ByteString value)
public Warnings.Builder setMessageBytes(ByteString value)
[Output Only] A human-readable description of the warning code.
optional string message = 418054151;
Name | Description |
value | ByteString The bytes for message to set. |
Type | Description |
Warnings.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Warnings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Warnings.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Warnings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Warnings.Builder |