public final class BatchGetServicesRequest extends GeneratedMessageV3 implements BatchGetServicesRequestOrBuilder
Request message for the BatchGetServices
method.
Protobuf type google.api.serviceusage.v1.BatchGetServicesRequest
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
NAMES_FIELD_NUMBER
public static final int NAMES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static BatchGetServicesRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BatchGetServicesRequest.Builder newBuilder()
newBuilder(BatchGetServicesRequest prototype)
public static BatchGetServicesRequest.Builder newBuilder(BatchGetServicesRequest prototype)
public static BatchGetServicesRequest parseDelimitedFrom(InputStream input)
public static BatchGetServicesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BatchGetServicesRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchGetServicesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BatchGetServicesRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchGetServicesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchGetServicesRequest parseFrom(CodedInputStream input)
public static BatchGetServicesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchGetServicesRequest parseFrom(InputStream input)
public static BatchGetServicesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BatchGetServicesRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchGetServicesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BatchGetServicesRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public BatchGetServicesRequest getDefaultInstanceForType()
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;
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
getParserForType()
public Parser<BatchGetServicesRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BatchGetServicesRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchGetServicesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public BatchGetServicesRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides