Class QuotaStatusWarning.Builder (1.59.0)

public static final class QuotaStatusWarning.Builder extends GeneratedMessageV3.Builder<QuotaStatusWarning.Builder> implements QuotaStatusWarningOrBuilder

[Output Only] Warning of fetching the quotas field for this region. This field is populated only if fetching of the quotas field fails.

Protobuf type google.cloud.compute.v1.QuotaStatusWarning

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllData(Iterable<? extends Data> values)

public QuotaStatusWarning.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;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.Data>
Returns
Type Description
QuotaStatusWarning.Builder

addData(Data value)

public QuotaStatusWarning.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;

Parameter
Name Description
value Data
Returns
Type Description
QuotaStatusWarning.Builder

addData(Data.Builder builderForValue)

public QuotaStatusWarning.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;

Parameter
Name Description
builderForValue Data.Builder
Returns
Type Description
QuotaStatusWarning.Builder

addData(int index, Data value)

public QuotaStatusWarning.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;

Parameters
Name Description
index int
value Data
Returns
Type Description
QuotaStatusWarning.Builder

addData(int index, Data.Builder builderForValue)

public QuotaStatusWarning.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;

Parameters
Name Description
index int
builderForValue Data.Builder
Returns
Type Description
QuotaStatusWarning.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;

Returns
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;

Parameter
Name Description
index int
Returns
Type Description
Data.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QuotaStatusWarning.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QuotaStatusWarning.Builder
Overrides

build()

public QuotaStatusWarning build()
Returns
Type Description
QuotaStatusWarning

buildPartial()

public QuotaStatusWarning buildPartial()
Returns
Type Description
QuotaStatusWarning

clear()

public QuotaStatusWarning.Builder clear()
Returns
Type Description
QuotaStatusWarning.Builder
Overrides

clearCode()

public QuotaStatusWarning.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
Type Description
QuotaStatusWarning.Builder

This builder for chaining.

clearData()

public QuotaStatusWarning.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;

Returns
Type Description
QuotaStatusWarning.Builder

clearField(Descriptors.FieldDescriptor field)

public QuotaStatusWarning.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
QuotaStatusWarning.Builder
Overrides

clearMessage()

public QuotaStatusWarning.Builder clearMessage()

[Output Only] A human-readable description of the warning code.

optional string message = 418054151;

Returns
Type Description
QuotaStatusWarning.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public QuotaStatusWarning.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
QuotaStatusWarning.Builder
Overrides

clone()

public QuotaStatusWarning.Builder clone()
Returns
Type Description
QuotaStatusWarning.Builder
Overrides

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;

Returns
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;

Returns
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;

Parameter
Name Description
index int
Returns
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;

Parameter
Name Description
index int
Returns
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;

Returns
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;

Returns
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;

Returns
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;

Parameter
Name Description
index int
Returns
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;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.DataOrBuilder>

getDefaultInstanceForType()

public QuotaStatusWarning getDefaultInstanceForType()
Returns
Type Description
QuotaStatusWarning

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMessage()

public String getMessage()

[Output Only] A human-readable description of the warning code.

optional string message = 418054151;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

[Output Only] A human-readable description of the warning code.

optional string message = 418054151;

Returns
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;

Returns
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;

Returns
Type Description
boolean

Whether the message field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QuotaStatusWarning other)

public QuotaStatusWarning.Builder mergeFrom(QuotaStatusWarning other)
Parameter
Name Description
other QuotaStatusWarning
Returns
Type Description
QuotaStatusWarning.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QuotaStatusWarning.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QuotaStatusWarning.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public QuotaStatusWarning.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
QuotaStatusWarning.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QuotaStatusWarning.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QuotaStatusWarning.Builder
Overrides

removeData(int index)

public QuotaStatusWarning.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;

Parameter
Name Description
index int
Returns
Type Description
QuotaStatusWarning.Builder

setCode(String value)

public QuotaStatusWarning.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;

Parameter
Name Description
value String

The code to set.

Returns
Type Description
QuotaStatusWarning.Builder

This builder for chaining.

setCodeBytes(ByteString value)

public QuotaStatusWarning.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;

Parameter
Name Description
value ByteString

The bytes for code to set.

Returns
Type Description
QuotaStatusWarning.Builder

This builder for chaining.

setData(int index, Data value)

public QuotaStatusWarning.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;

Parameters
Name Description
index int
value Data
Returns
Type Description
QuotaStatusWarning.Builder

setData(int index, Data.Builder builderForValue)

public QuotaStatusWarning.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;

Parameters
Name Description
index int
builderForValue Data.Builder
Returns
Type Description
QuotaStatusWarning.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public QuotaStatusWarning.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QuotaStatusWarning.Builder
Overrides

setMessage(String value)

public QuotaStatusWarning.Builder setMessage(String value)

[Output Only] A human-readable description of the warning code.

optional string message = 418054151;

Parameter
Name Description
value String

The message to set.

Returns
Type Description
QuotaStatusWarning.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public QuotaStatusWarning.Builder setMessageBytes(ByteString value)

[Output Only] A human-readable description of the warning code.

optional string message = 418054151;

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
QuotaStatusWarning.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public QuotaStatusWarning.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
QuotaStatusWarning.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final QuotaStatusWarning.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QuotaStatusWarning.Builder
Overrides