Class ImportConsumerOverridesRequest (2.7.0)

public final class ImportConsumerOverridesRequest extends GeneratedMessageV3 implements ImportConsumerOverridesRequestOrBuilder

Request message for ImportConsumerOverrides

Protobuf type google.api.serviceusage.v1beta1.ImportConsumerOverridesRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ImportConsumerOverridesRequest

Static Fields

FORCE_FIELD_NUMBER

public static final int FORCE_FIELD_NUMBER
Field Value
TypeDescription
int

FORCE_ONLY_FIELD_NUMBER

public static final int FORCE_ONLY_FIELD_NUMBER
Field Value
TypeDescription
int

INLINE_SOURCE_FIELD_NUMBER

public static final int INLINE_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportConsumerOverridesRequest getDefaultInstance()
Returns
TypeDescription
ImportConsumerOverridesRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ImportConsumerOverridesRequest.Builder newBuilder()
Returns
TypeDescription
ImportConsumerOverridesRequest.Builder

newBuilder(ImportConsumerOverridesRequest prototype)

public static ImportConsumerOverridesRequest.Builder newBuilder(ImportConsumerOverridesRequest prototype)
Parameter
NameDescription
prototypeImportConsumerOverridesRequest
Returns
TypeDescription
ImportConsumerOverridesRequest.Builder

parseDelimitedFrom(InputStream input)

public static ImportConsumerOverridesRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportConsumerOverridesRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportConsumerOverridesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportConsumerOverridesRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImportConsumerOverridesRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImportConsumerOverridesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportConsumerOverridesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportConsumerOverridesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportConsumerOverridesRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImportConsumerOverridesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportConsumerOverridesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportConsumerOverridesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportConsumerOverridesRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImportConsumerOverridesRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportConsumerOverridesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportConsumerOverridesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImportConsumerOverridesRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportConsumerOverridesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportConsumerOverridesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportConsumerOverridesRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImportConsumerOverridesRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImportConsumerOverridesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportConsumerOverridesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportConsumerOverridesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ImportConsumerOverridesRequest> parser()
Returns
TypeDescription
Parser<ImportConsumerOverridesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ImportConsumerOverridesRequest getDefaultInstanceForType()
Returns
TypeDescription
ImportConsumerOverridesRequest

getForce()

public boolean getForce()

Whether to force the creation of the quota overrides. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.

bool force = 3;

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

Parameter
NameDescription
indexint

The index of the element to return.

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

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

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

Parameter
NameDescription
indexint

The index of the value to return.

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

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for forceOnly.

getInlineSource()

public OverrideInlineSource getInlineSource()

The import data is specified in the request message itself

.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;

Returns
TypeDescription
OverrideInlineSource

The inlineSource.

getInlineSourceOrBuilder()

public OverrideInlineSourceOrBuilder getInlineSourceOrBuilder()

The import data is specified in the request message itself

.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;

Returns
TypeDescription
OverrideInlineSourceOrBuilder

getParent()

public String getParent()

The resource name of the consumer. An example name would be: projects/123/services/compute.googleapis.com

string parent = 1;

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

The resource name of the consumer. An example name would be: projects/123/services/compute.googleapis.com

string parent = 1;

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<ImportConsumerOverridesRequest> getParserForType()
Returns
TypeDescription
Parser<ImportConsumerOverridesRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceCase()

public ImportConsumerOverridesRequest.SourceCase getSourceCase()
Returns
TypeDescription
ImportConsumerOverridesRequest.SourceCase

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasInlineSource()

public boolean hasInlineSource()

The import data is specified in the request message itself

.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;

Returns
TypeDescription
boolean

Whether the inlineSource field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ImportConsumerOverridesRequest.Builder newBuilderForType()
Returns
TypeDescription
ImportConsumerOverridesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportConsumerOverridesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImportConsumerOverridesRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ImportConsumerOverridesRequest.Builder toBuilder()
Returns
TypeDescription
ImportConsumerOverridesRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException