- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.7
- 2.2.8
public final class CreateConsumerOverrideRequest extends GeneratedMessageV3 implements CreateConsumerOverrideRequestOrBuilder
Request message for CreateConsumerOverride.
Protobuf type google.api.serviceusage.v1beta1.CreateConsumerOverrideRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateConsumerOverrideRequestImplements
CreateConsumerOverrideRequestOrBuilderStatic Fields
FORCE_FIELD_NUMBER
public static final int FORCE_FIELD_NUMBER
Type | Description |
int |
FORCE_ONLY_FIELD_NUMBER
public static final int FORCE_ONLY_FIELD_NUMBER
Type | Description |
int |
OVERRIDE_FIELD_NUMBER
public static final int OVERRIDE_FIELD_NUMBER
Type | Description |
int |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CreateConsumerOverrideRequest getDefaultInstance()
Type | Description |
CreateConsumerOverrideRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static CreateConsumerOverrideRequest.Builder newBuilder()
Type | Description |
CreateConsumerOverrideRequest.Builder |
newBuilder(CreateConsumerOverrideRequest prototype)
public static CreateConsumerOverrideRequest.Builder newBuilder(CreateConsumerOverrideRequest prototype)
Name | Description |
prototype | CreateConsumerOverrideRequest |
Type | Description |
CreateConsumerOverrideRequest.Builder |
parseDelimitedFrom(InputStream input)
public static CreateConsumerOverrideRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CreateConsumerOverrideRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateConsumerOverrideRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateConsumerOverrideRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static CreateConsumerOverrideRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
CreateConsumerOverrideRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateConsumerOverrideRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateConsumerOverrideRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CreateConsumerOverrideRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
CreateConsumerOverrideRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateConsumerOverrideRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateConsumerOverrideRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CreateConsumerOverrideRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
CreateConsumerOverrideRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateConsumerOverrideRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateConsumerOverrideRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static CreateConsumerOverrideRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CreateConsumerOverrideRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateConsumerOverrideRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateConsumerOverrideRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CreateConsumerOverrideRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
CreateConsumerOverrideRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateConsumerOverrideRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateConsumerOverrideRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CreateConsumerOverrideRequest> parser()
Type | Description |
Parser<CreateConsumerOverrideRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public CreateConsumerOverrideRequest getDefaultInstanceForType()
Type | Description |
CreateConsumerOverrideRequest |
getForce()
public boolean getForce()
Whether to force the creation of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.
bool force = 3;
Type | Description |
boolean | The force. |
getForceOnly(int index)
public QuotaSafetyCheck getForceOnly(int index)
The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 4;
Name | Description |
index | int The index of the element to return. |
Type | Description |
QuotaSafetyCheck | The forceOnly at the given index. |
getForceOnlyCount()
public int getForceOnlyCount()
The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 4;
Type | Description |
int | The count of forceOnly. |
getForceOnlyList()
public List<QuotaSafetyCheck> getForceOnlyList()
The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 4;
Type | Description |
List<QuotaSafetyCheck> | A list containing the forceOnly. |
getForceOnlyValue(int index)
public int getForceOnlyValue(int index)
The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 4;
Name | Description |
index | int The index of the value to return. |
Type | Description |
int | The enum numeric value on the wire of forceOnly at the given index. |
getForceOnlyValueList()
public List<Integer> getForceOnlyValueList()
The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 4;
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for forceOnly. |
getOverride()
public QuotaOverride getOverride()
The override to create.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;
Type | Description |
QuotaOverride | The override. |
getOverrideOrBuilder()
public QuotaOverrideOrBuilder getOverrideOrBuilder()
The override to create.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;
Type | Description |
QuotaOverrideOrBuilder |
getParent()
public String getParent()
The resource name of the parent quota limit, returned by a
ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.
An example name would be:
projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion
string parent = 1;
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
The resource name of the parent quota limit, returned by a
ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.
An example name would be:
projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion
string parent = 1;
Type | Description |
ByteString | The bytes for parent. |
getParserForType()
public Parser<CreateConsumerOverrideRequest> getParserForType()
Type | Description |
Parser<CreateConsumerOverrideRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasOverride()
public boolean hasOverride()
The override to create.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;
Type | Description |
boolean | Whether the override field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public CreateConsumerOverrideRequest.Builder newBuilderForType()
Type | Description |
CreateConsumerOverrideRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateConsumerOverrideRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
CreateConsumerOverrideRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public CreateConsumerOverrideRequest.Builder toBuilder()
Type | Description |
CreateConsumerOverrideRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |