Package com.google.api.serviceusage.v1
Class BatchGetServicesRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>
-
- com.google.api.serviceusage.v1.BatchGetServicesRequest.Builder
-
- All Implemented Interfaces:
BatchGetServicesRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchGetServicesRequest
public static final class BatchGetServicesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder> implements BatchGetServicesRequestOrBuilder
Request message for the `BatchGetServices` method.
Protobuf typegoogle.api.serviceusage.v1.BatchGetServicesRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchGetServicesRequest.BuilderaddAllNames(Iterable<String> values)Names of the services to retrieve.BatchGetServicesRequest.BuilderaddNames(String value)Names of the services to retrieve.BatchGetServicesRequest.BuilderaddNamesBytes(com.google.protobuf.ByteString value)Names of the services to retrieve.BatchGetServicesRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchGetServicesRequestbuild()BatchGetServicesRequestbuildPartial()BatchGetServicesRequest.Builderclear()BatchGetServicesRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BatchGetServicesRequest.BuilderclearNames()Names of the services to retrieve.BatchGetServicesRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BatchGetServicesRequest.BuilderclearParent()Parent to retrieve services from.BatchGetServicesRequest.Builderclone()BatchGetServicesRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetNames(int index)Names of the services to retrieve.com.google.protobuf.ByteStringgetNamesBytes(int index)Names of the services to retrieve.intgetNamesCount()Names of the services to retrieve.com.google.protobuf.ProtocolStringListgetNamesList()Names of the services to retrieve.StringgetParent()Parent to retrieve services from.com.google.protobuf.ByteStringgetParentBytes()Parent to retrieve services from.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BatchGetServicesRequest.BuildermergeFrom(BatchGetServicesRequest other)BatchGetServicesRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BatchGetServicesRequest.BuildermergeFrom(com.google.protobuf.Message other)BatchGetServicesRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BatchGetServicesRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchGetServicesRequest.BuildersetNames(int index, String value)Names of the services to retrieve.BatchGetServicesRequest.BuildersetParent(String value)Parent to retrieve services from.BatchGetServicesRequest.BuildersetParentBytes(com.google.protobuf.ByteString value)Parent to retrieve services from.BatchGetServicesRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BatchGetServicesRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>
-
clear
public BatchGetServicesRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>
-
getDefaultInstanceForType
public BatchGetServicesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchGetServicesRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchGetServicesRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchGetServicesRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>
-
setField
public BatchGetServicesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>
-
clearField
public BatchGetServicesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>
-
clearOneof
public BatchGetServicesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>
-
setRepeatedField
public BatchGetServicesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>
-
addRepeatedField
public BatchGetServicesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>
-
mergeFrom
public BatchGetServicesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchGetServicesRequest.Builder>
-
mergeFrom
public BatchGetServicesRequest.Builder mergeFrom(BatchGetServicesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>
-
mergeFrom
public BatchGetServicesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchGetServicesRequest.Builder>- Throws:
IOException
-
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;- Specified by:
getParentin interfaceBatchGetServicesRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public 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;- Specified by:
getParentBytesin interfaceBatchGetServicesRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
public 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;- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
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;- Returns:
- This builder for chaining.
-
setParentBytes
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;- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getNamesList
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;- Specified by:
getNamesListin interfaceBatchGetServicesRequestOrBuilder- Returns:
- A list containing the names.
-
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;- Specified by:
getNamesCountin interfaceBatchGetServicesRequestOrBuilder- Returns:
- The count of names.
-
getNames
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;- Specified by:
getNamesin interfaceBatchGetServicesRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The names at the given index.
-
getNamesBytes
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;- Specified by:
getNamesBytesin interfaceBatchGetServicesRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the names at the given index.
-
setNames
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;- Parameters:
index- The index to set the value at.value- The names to set.- Returns:
- This builder for chaining.
-
addNames
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;- Parameters:
value- The names to add.- Returns:
- This builder for chaining.
-
addAllNames
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;- Parameters:
values- The names to add.- Returns:
- This builder for chaining.
-
clearNames
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;- Returns:
- This builder for chaining.
-
addNamesBytes
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;- Parameters:
value- The bytes of the names to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BatchGetServicesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>
-
mergeUnknownFields
public final BatchGetServicesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetServicesRequest.Builder>
-
-