public static final class ListServicesResponse.Builder extends GeneratedMessageV3.Builder<ListServicesResponse.Builder> implements ListServicesResponseOrBuilder
The ListServices
response.
Protobuf type google.monitoring.v3.ListServicesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addAllServices(Iterable<? extends Service> values)
public ListServicesResponse.Builder addAllServices(Iterable<? extends Service> values)
The Service
s matching the specified filter.
repeated .google.monitoring.v3.Service services = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.monitoring.v3.Service>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListServicesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addServices(Service value)
public ListServicesResponse.Builder addServices(Service value)
The Service
s matching the specified filter.
repeated .google.monitoring.v3.Service services = 1;
Parameter
Returns
addServices(Service.Builder builderForValue)
public ListServicesResponse.Builder addServices(Service.Builder builderForValue)
The Service
s matching the specified filter.
repeated .google.monitoring.v3.Service services = 1;
Parameter
Returns
addServices(int index, Service value)
public ListServicesResponse.Builder addServices(int index, Service value)
The Service
s matching the specified filter.
repeated .google.monitoring.v3.Service services = 1;
Parameters
Returns
addServices(int index, Service.Builder builderForValue)
public ListServicesResponse.Builder addServices(int index, Service.Builder builderForValue)
The Service
s matching the specified filter.
repeated .google.monitoring.v3.Service services = 1;
Parameters
Returns
addServicesBuilder()
public Service.Builder addServicesBuilder()
The Service
s matching the specified filter.
repeated .google.monitoring.v3.Service services = 1;
Returns
addServicesBuilder(int index)
public Service.Builder addServicesBuilder(int index)
The Service
s matching the specified filter.
repeated .google.monitoring.v3.Service services = 1;
Parameter
Returns
build()
public ListServicesResponse build()
Returns
buildPartial()
public ListServicesResponse buildPartial()
Returns
clear()
public ListServicesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListServicesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListServicesResponse.Builder clearNextPageToken()
If there are more results than have been returned, then this field is set
to a non-empty value. To see the additional results,
use that value as page_token
in the next call to this method.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListServicesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearServices()
public ListServicesResponse.Builder clearServices()
The Service
s matching the specified filter.
repeated .google.monitoring.v3.Service services = 1;
Returns
clone()
public ListServicesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListServicesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
If there are more results than have been returned, then this field is set
to a non-empty value. To see the additional results,
use that value as page_token
in the next call to this method.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
If there are more results than have been returned, then this field is set
to a non-empty value. To see the additional results,
use that value as page_token
in the next call to this method.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getServices(int index)
public Service getServices(int index)
The Service
s matching the specified filter.
repeated .google.monitoring.v3.Service services = 1;
Parameter
Returns
getServicesBuilder(int index)
public Service.Builder getServicesBuilder(int index)
The Service
s matching the specified filter.
repeated .google.monitoring.v3.Service services = 1;
Parameter
Returns
getServicesBuilderList()
public List<Service.Builder> getServicesBuilderList()
The Service
s matching the specified filter.
repeated .google.monitoring.v3.Service services = 1;
Returns
getServicesCount()
public int getServicesCount()
The Service
s matching the specified filter.
repeated .google.monitoring.v3.Service services = 1;
Returns
getServicesList()
public List<Service> getServicesList()
The Service
s matching the specified filter.
repeated .google.monitoring.v3.Service services = 1;
Returns
getServicesOrBuilder(int index)
public ServiceOrBuilder getServicesOrBuilder(int index)
The Service
s matching the specified filter.
repeated .google.monitoring.v3.Service services = 1;
Parameter
Returns
getServicesOrBuilderList()
public List<? extends ServiceOrBuilder> getServicesOrBuilderList()
The Service
s matching the specified filter.
repeated .google.monitoring.v3.Service services = 1;
Returns
Type | Description |
List<? extends com.google.monitoring.v3.ServiceOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListServicesResponse other)
public ListServicesResponse.Builder mergeFrom(ListServicesResponse other)
Parameter
Returns
public ListServicesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListServicesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListServicesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeServices(int index)
public ListServicesResponse.Builder removeServices(int index)
The Service
s matching the specified filter.
repeated .google.monitoring.v3.Service services = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListServicesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListServicesResponse.Builder setNextPageToken(String value)
If there are more results than have been returned, then this field is set
to a non-empty value. To see the additional results,
use that value as page_token
in the next call to this method.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListServicesResponse.Builder setNextPageTokenBytes(ByteString value)
If there are more results than have been returned, then this field is set
to a non-empty value. To see the additional results,
use that value as page_token
in the next call to this method.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListServicesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setServices(int index, Service value)
public ListServicesResponse.Builder setServices(int index, Service value)
The Service
s matching the specified filter.
repeated .google.monitoring.v3.Service services = 1;
Parameters
Returns
setServices(int index, Service.Builder builderForValue)
public ListServicesResponse.Builder setServices(int index, Service.Builder builderForValue)
The Service
s matching the specified filter.
repeated .google.monitoring.v3.Service services = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListServicesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides