publicfinalclass BatchEnableServicesRequestextendsGeneratedMessageV3implementsBatchEnableServicesRequestOrBuilder
Request message for the BatchEnableServices method.
Protobuf type google.api.serviceusage.v1beta1.BatchEnableServicesRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PARENT_FIELD_NUMBER
publicstaticfinalintPARENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
SERVICE_IDS_FIELD_NUMBER
publicstaticfinalintSERVICE_IDS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticBatchEnableServicesRequestgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticBatchEnableServicesRequest.BuildernewBuilder()
newBuilder(BatchEnableServicesRequest prototype)
publicstaticBatchEnableServicesRequest.BuildernewBuilder(BatchEnableServicesRequestprototype)
publicstaticBatchEnableServicesRequestparseDelimitedFrom(InputStreaminput)
publicstaticBatchEnableServicesRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticBatchEnableServicesRequestparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticBatchEnableServicesRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticBatchEnableServicesRequestparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticBatchEnableServicesRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticBatchEnableServicesRequestparseFrom(CodedInputStreaminput)
publicstaticBatchEnableServicesRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticBatchEnableServicesRequestparseFrom(InputStreaminput)
publicstaticBatchEnableServicesRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticBatchEnableServicesRequestparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticBatchEnableServicesRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<BatchEnableServicesRequest>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicBatchEnableServicesRequestgetDefaultInstanceForType()
getParent()
Parent to enable services on.
An example name would be:
projects/123
where 123 is the project number (not project ID).
The BatchEnableServices method currently only supports projects.
string parent = 1;
| Returns |
| Type |
Description |
String |
The parent.
|
getParentBytes()
publicByteStringgetParentBytes()
Parent to enable services on.
An example name would be:
projects/123
where 123 is the project number (not project ID).
The BatchEnableServices method currently only supports projects.
string parent = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for parent.
|
getParserForType()
publicParser<BatchEnableServicesRequest>getParserForType()
Overrides
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getServiceIds(int index)
publicStringgetServiceIds(intindex)
The identifiers of the services to enable on the project.
A valid identifier would be:
serviceusage.googleapis.com
Enabling services requires that each service is public or is shared with
the user enabling the service.
Two or more services must be specified. To enable a single service,
use the EnableService method instead.
A single request can enable a maximum of 20 services at a time. If more
than 20 services are specified, the request will fail, and no state changes
will occur.
repeated string service_ids = 2;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The serviceIds at the given index.
|
getServiceIdsBytes(int index)
publicByteStringgetServiceIdsBytes(intindex)
The identifiers of the services to enable on the project.
A valid identifier would be:
serviceusage.googleapis.com
Enabling services requires that each service is public or is shared with
the user enabling the service.
Two or more services must be specified. To enable a single service,
use the EnableService method instead.
A single request can enable a maximum of 20 services at a time. If more
than 20 services are specified, the request will fail, and no state changes
will occur.
repeated string service_ids = 2;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the serviceIds at the given index.
|
getServiceIdsCount()
publicintgetServiceIdsCount()
The identifiers of the services to enable on the project.
A valid identifier would be:
serviceusage.googleapis.com
Enabling services requires that each service is public or is shared with
the user enabling the service.
Two or more services must be specified. To enable a single service,
use the EnableService method instead.
A single request can enable a maximum of 20 services at a time. If more
than 20 services are specified, the request will fail, and no state changes
will occur.
repeated string service_ids = 2;
| Returns |
| Type |
Description |
int |
The count of serviceIds.
|
getServiceIdsList()
publicProtocolStringListgetServiceIdsList()
The identifiers of the services to enable on the project.
A valid identifier would be:
serviceusage.googleapis.com
Enabling services requires that each service is public or is shared with
the user enabling the service.
Two or more services must be specified. To enable a single service,
use the EnableService method instead.
A single request can enable a maximum of 20 services at a time. If more
than 20 services are specified, the request will fail, and no state changes
will occur.
repeated string service_ids = 2;
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicBatchEnableServicesRequest.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedBatchEnableServicesRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicBatchEnableServicesRequest.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides