public static final class BatchGetServicesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder> implements BatchGetServicesRequestOrBuilder
Request message for the `BatchGetServices` method.Protobuf type
google.api.serviceusage.v1.BatchGetServicesRequest| Modifier and Type | Method and Description |
|---|---|
BatchGetServicesRequest.Builder |
addAllNames(Iterable<String> values)
Names of the services to retrieve.
|
BatchGetServicesRequest.Builder |
addNames(String value)
Names of the services to retrieve.
|
BatchGetServicesRequest.Builder |
addNamesBytes(com.google.protobuf.ByteString value)
Names of the services to retrieve.
|
BatchGetServicesRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchGetServicesRequest |
build() |
BatchGetServicesRequest |
buildPartial() |
BatchGetServicesRequest.Builder |
clear() |
BatchGetServicesRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BatchGetServicesRequest.Builder |
clearNames()
Names of the services to retrieve.
|
BatchGetServicesRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BatchGetServicesRequest.Builder |
clearParent()
Parent to retrieve services from.
|
BatchGetServicesRequest.Builder |
clone() |
BatchGetServicesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNames(int index)
Names of the services to retrieve.
|
com.google.protobuf.ByteString |
getNamesBytes(int index)
Names of the services to retrieve.
|
int |
getNamesCount()
Names of the services to retrieve.
|
com.google.protobuf.ProtocolStringList |
getNamesList()
Names of the services to retrieve.
|
String |
getParent()
Parent to retrieve services from.
|
com.google.protobuf.ByteString |
getParentBytes()
Parent to retrieve services from.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BatchGetServicesRequest.Builder |
mergeFrom(BatchGetServicesRequest other) |
BatchGetServicesRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BatchGetServicesRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
BatchGetServicesRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchGetServicesRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchGetServicesRequest.Builder |
setNames(int index,
String value)
Names of the services to retrieve.
|
BatchGetServicesRequest.Builder |
setParent(String value)
Parent to retrieve services from.
|
BatchGetServicesRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Parent to retrieve services from.
|
BatchGetServicesRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BatchGetServicesRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>public BatchGetServicesRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>public BatchGetServicesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchGetServicesRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchGetServicesRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchGetServicesRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>public BatchGetServicesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>public BatchGetServicesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>public BatchGetServicesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>public BatchGetServicesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>public BatchGetServicesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>public BatchGetServicesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchGetServicesRequest.Builder>public BatchGetServicesRequest.Builder mergeFrom(BatchGetServicesRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>public BatchGetServicesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchGetServicesRequest.Builder>IOExceptionpublic 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;getParent in interface BatchGetServicesRequestOrBuilderpublic com.google.protobuf.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;getParentBytes in interface BatchGetServicesRequestOrBuilderpublic BatchGetServicesRequest.Builder setParent(String value)
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;value - The parent to set.public BatchGetServicesRequest.Builder clearParent()
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;public BatchGetServicesRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
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;value - The bytes for parent to set.public com.google.protobuf.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;getNamesList in interface BatchGetServicesRequestOrBuilderpublic 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;getNamesCount in interface BatchGetServicesRequestOrBuilderpublic 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;getNames in interface BatchGetServicesRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.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;getNamesBytes in interface BatchGetServicesRequestOrBuilderindex - The index of the value to return.public BatchGetServicesRequest.Builder setNames(int index, String value)
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;index - The index to set the value at.value - The names to set.public BatchGetServicesRequest.Builder addNames(String value)
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;value - The names to add.public BatchGetServicesRequest.Builder addAllNames(Iterable<String> values)
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;values - The names to add.public BatchGetServicesRequest.Builder clearNames()
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;public BatchGetServicesRequest.Builder addNamesBytes(com.google.protobuf.ByteString value)
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;value - The bytes of the names to add.public final BatchGetServicesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>public final BatchGetServicesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.