public final class BatchGetServicesRequest extends GeneratedMessageV3 implements BatchGetServicesRequestOrBuilder
Request message for the BatchGetServices
method.
Protobuf type google.api.serviceusage.v1.BatchGetServicesRequest
Static Fields
NAMES_FIELD_NUMBER
public static final int NAMES_FIELD_NUMBER
Field Value
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BatchGetServicesRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BatchGetServicesRequest.Builder newBuilder()
Returns
newBuilder(BatchGetServicesRequest prototype)
public static BatchGetServicesRequest.Builder newBuilder(BatchGetServicesRequest prototype)
Parameter
Returns
public static BatchGetServicesRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchGetServicesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BatchGetServicesRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchGetServicesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BatchGetServicesRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchGetServicesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchGetServicesRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchGetServicesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchGetServicesRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchGetServicesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BatchGetServicesRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchGetServicesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BatchGetServicesRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public BatchGetServicesRequest getDefaultInstanceForType()
Returns
getNames(int index)
public String getNames(int index)
Names of the services to retrieve.
An example name would be:
projects/123/services/serviceusage.googleapis.com
where 123
is the
project number.
A single request can get a maximum of 30 services at a time.
repeated string names = 2;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The names at the given index.
|
getNamesBytes(int index)
public ByteString getNamesBytes(int index)
Names of the services to retrieve.
An example name would be:
projects/123/services/serviceusage.googleapis.com
where 123
is the
project number.
A single request can get a maximum of 30 services at a time.
repeated string names = 2;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the names at the given index.
|
getNamesCount()
public int getNamesCount()
Names of the services to retrieve.
An example name would be:
projects/123/services/serviceusage.googleapis.com
where 123
is the
project number.
A single request can get a maximum of 30 services at a time.
repeated string names = 2;
Returns
Type | Description |
int | The count of names.
|
getNamesList()
public ProtocolStringList getNamesList()
Names of the services to retrieve.
An example name would be:
projects/123/services/serviceusage.googleapis.com
where 123
is the
project number.
A single request can get a maximum of 30 services at a time.
repeated string names = 2;
Returns
getParent()
public String getParent()
Parent to retrieve services from.
If this is set, the parent of all of the services specified in names
must
match this field. An example name would be: projects/123
where 123
is
the project number. The BatchGetServices
method currently only supports
projects.
string parent = 1;
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Parent to retrieve services from.
If this is set, the parent of all of the services specified in names
must
match this field. An example name would be: projects/123
where 123
is
the project number. The BatchGetServices
method currently only supports
projects.
string parent = 1;
Returns
getParserForType()
public Parser<BatchGetServicesRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BatchGetServicesRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchGetServicesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BatchGetServicesRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions