public static final class ListServicesResponse.Builder extends GeneratedMessageV3.Builder<ListServicesResponse.Builder> implements ListServicesResponseOrBuilder
Response message for the ListServices
method.
Protobuf type google.api.serviceusage.v1.ListServicesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllServices(Iterable<? extends Service> values)
public ListServicesResponse.Builder addAllServices(Iterable<? extends Service> values)
The available services for the requested project.
repeated .google.api.serviceusage.v1.Service services = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.api.serviceusage.v1.Service>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListServicesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addServices(Service value)
public ListServicesResponse.Builder addServices(Service value)
The available services for the requested project.
repeated .google.api.serviceusage.v1.Service services = 1;
Parameter |
---|
Name | Description |
value | Service
|
addServices(Service.Builder builderForValue)
public ListServicesResponse.Builder addServices(Service.Builder builderForValue)
The available services for the requested project.
repeated .google.api.serviceusage.v1.Service services = 1;
addServices(int index, Service value)
public ListServicesResponse.Builder addServices(int index, Service value)
The available services for the requested project.
repeated .google.api.serviceusage.v1.Service services = 1;
addServices(int index, Service.Builder builderForValue)
public ListServicesResponse.Builder addServices(int index, Service.Builder builderForValue)
The available services for the requested project.
repeated .google.api.serviceusage.v1.Service services = 1;
addServicesBuilder()
public Service.Builder addServicesBuilder()
The available services for the requested project.
repeated .google.api.serviceusage.v1.Service services = 1;
addServicesBuilder(int index)
public Service.Builder addServicesBuilder(int index)
The available services for the requested project.
repeated .google.api.serviceusage.v1.Service services = 1;
Parameter |
---|
Name | Description |
index | int
|
build()
public ListServicesResponse build()
buildPartial()
public ListServicesResponse buildPartial()
clear()
public ListServicesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListServicesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListServicesResponse.Builder clearNextPageToken()
Token that can be passed to ListServices
to resume a paginated
query.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListServicesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearServices()
public ListServicesResponse.Builder clearServices()
The available services for the requested project.
repeated .google.api.serviceusage.v1.Service services = 1;
clone()
public ListServicesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListServicesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
Token that can be passed to ListServices
to resume a paginated
query.
string next_page_token = 2;
Returns |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Token that can be passed to ListServices
to resume a paginated
query.
string next_page_token = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
getServices(int index)
public Service getServices(int index)
The available services for the requested project.
repeated .google.api.serviceusage.v1.Service services = 1;
Parameter |
---|
Name | Description |
index | int
|
getServicesBuilder(int index)
public Service.Builder getServicesBuilder(int index)
The available services for the requested project.
repeated .google.api.serviceusage.v1.Service services = 1;
Parameter |
---|
Name | Description |
index | int
|
getServicesBuilderList()
public List<Service.Builder> getServicesBuilderList()
The available services for the requested project.
repeated .google.api.serviceusage.v1.Service services = 1;
getServicesCount()
public int getServicesCount()
The available services for the requested project.
repeated .google.api.serviceusage.v1.Service services = 1;
Returns |
---|
Type | Description |
int | |
getServicesList()
public List<Service> getServicesList()
The available services for the requested project.
repeated .google.api.serviceusage.v1.Service services = 1;
getServicesOrBuilder(int index)
public ServiceOrBuilder getServicesOrBuilder(int index)
The available services for the requested project.
repeated .google.api.serviceusage.v1.Service services = 1;
Parameter |
---|
Name | Description |
index | int
|
getServicesOrBuilderList()
public List<? extends ServiceOrBuilder> getServicesOrBuilderList()
The available services for the requested project.
repeated .google.api.serviceusage.v1.Service services = 1;
Returns |
---|
Type | Description |
List<? extends com.google.api.serviceusage.v1.ServiceOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListServicesResponse other)
public ListServicesResponse.Builder mergeFrom(ListServicesResponse other)
public ListServicesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListServicesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListServicesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeServices(int index)
public ListServicesResponse.Builder removeServices(int index)
The available services for the requested project.
repeated .google.api.serviceusage.v1.Service services = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListServicesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListServicesResponse.Builder setNextPageToken(String value)
Token that can be passed to ListServices
to resume a paginated
query.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListServicesResponse.Builder setNextPageTokenBytes(ByteString value)
Token that can be passed to ListServices
to resume a paginated
query.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListServicesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setServices(int index, Service value)
public ListServicesResponse.Builder setServices(int index, Service value)
The available services for the requested project.
repeated .google.api.serviceusage.v1.Service services = 1;
setServices(int index, Service.Builder builderForValue)
public ListServicesResponse.Builder setServices(int index, Service.Builder builderForValue)
The available services for the requested project.
repeated .google.api.serviceusage.v1.Service services = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListServicesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides