public static final class ListServiceLevelObjectivesResponse.Builder extends GeneratedMessageV3.Builder<ListServiceLevelObjectivesResponse.Builder> implements ListServiceLevelObjectivesResponseOrBuilder
The ListServiceLevelObjectives
response.
Protobuf type google.monitoring.v3.ListServiceLevelObjectivesResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllServiceLevelObjectives(Iterable<? extends ServiceLevelObjective> values)
public ListServiceLevelObjectivesResponse.Builder addAllServiceLevelObjectives(Iterable<? extends ServiceLevelObjective> values)
The ServiceLevelObjective
s matching the specified filter.
repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.monitoring.v3.ServiceLevelObjective>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListServiceLevelObjectivesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addServiceLevelObjectives(ServiceLevelObjective value)
public ListServiceLevelObjectivesResponse.Builder addServiceLevelObjectives(ServiceLevelObjective value)
The ServiceLevelObjective
s matching the specified filter.
repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;
Parameter
Returns
addServiceLevelObjectives(ServiceLevelObjective.Builder builderForValue)
public ListServiceLevelObjectivesResponse.Builder addServiceLevelObjectives(ServiceLevelObjective.Builder builderForValue)
The ServiceLevelObjective
s matching the specified filter.
repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;
Parameter
Returns
addServiceLevelObjectives(int index, ServiceLevelObjective value)
public ListServiceLevelObjectivesResponse.Builder addServiceLevelObjectives(int index, ServiceLevelObjective value)
The ServiceLevelObjective
s matching the specified filter.
repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;
Parameters
Returns
addServiceLevelObjectives(int index, ServiceLevelObjective.Builder builderForValue)
public ListServiceLevelObjectivesResponse.Builder addServiceLevelObjectives(int index, ServiceLevelObjective.Builder builderForValue)
The ServiceLevelObjective
s matching the specified filter.
repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;
Parameters
Returns
addServiceLevelObjectivesBuilder()
public ServiceLevelObjective.Builder addServiceLevelObjectivesBuilder()
The ServiceLevelObjective
s matching the specified filter.
repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;
Returns
addServiceLevelObjectivesBuilder(int index)
public ServiceLevelObjective.Builder addServiceLevelObjectivesBuilder(int index)
The ServiceLevelObjective
s matching the specified filter.
repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;
Parameter
Returns
build()
public ListServiceLevelObjectivesResponse build()
Returns
buildPartial()
public ListServiceLevelObjectivesResponse buildPartial()
Returns
clear()
public ListServiceLevelObjectivesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListServiceLevelObjectivesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListServiceLevelObjectivesResponse.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 ListServiceLevelObjectivesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearServiceLevelObjectives()
public ListServiceLevelObjectivesResponse.Builder clearServiceLevelObjectives()
The ServiceLevelObjective
s matching the specified filter.
repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;
Returns
clone()
public ListServiceLevelObjectivesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListServiceLevelObjectivesResponse 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.
|
getServiceLevelObjectives(int index)
public ServiceLevelObjective getServiceLevelObjectives(int index)
The ServiceLevelObjective
s matching the specified filter.
repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;
Parameter
Returns
getServiceLevelObjectivesBuilder(int index)
public ServiceLevelObjective.Builder getServiceLevelObjectivesBuilder(int index)
The ServiceLevelObjective
s matching the specified filter.
repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;
Parameter
Returns
getServiceLevelObjectivesBuilderList()
public List<ServiceLevelObjective.Builder> getServiceLevelObjectivesBuilderList()
The ServiceLevelObjective
s matching the specified filter.
repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;
Returns
getServiceLevelObjectivesCount()
public int getServiceLevelObjectivesCount()
The ServiceLevelObjective
s matching the specified filter.
repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;
Returns
getServiceLevelObjectivesList()
public List<ServiceLevelObjective> getServiceLevelObjectivesList()
The ServiceLevelObjective
s matching the specified filter.
repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;
Returns
getServiceLevelObjectivesOrBuilder(int index)
public ServiceLevelObjectiveOrBuilder getServiceLevelObjectivesOrBuilder(int index)
The ServiceLevelObjective
s matching the specified filter.
repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;
Parameter
Returns
getServiceLevelObjectivesOrBuilderList()
public List<? extends ServiceLevelObjectiveOrBuilder> getServiceLevelObjectivesOrBuilderList()
The ServiceLevelObjective
s matching the specified filter.
repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;
Returns
Type | Description |
List<? extends com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListServiceLevelObjectivesResponse other)
public ListServiceLevelObjectivesResponse.Builder mergeFrom(ListServiceLevelObjectivesResponse other)
Parameter
Returns
public ListServiceLevelObjectivesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListServiceLevelObjectivesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListServiceLevelObjectivesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeServiceLevelObjectives(int index)
public ListServiceLevelObjectivesResponse.Builder removeServiceLevelObjectives(int index)
The ServiceLevelObjective
s matching the specified filter.
repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListServiceLevelObjectivesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListServiceLevelObjectivesResponse.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 ListServiceLevelObjectivesResponse.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 ListServiceLevelObjectivesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setServiceLevelObjectives(int index, ServiceLevelObjective value)
public ListServiceLevelObjectivesResponse.Builder setServiceLevelObjectives(int index, ServiceLevelObjective value)
The ServiceLevelObjective
s matching the specified filter.
repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;
Parameters
Returns
setServiceLevelObjectives(int index, ServiceLevelObjective.Builder builderForValue)
public ListServiceLevelObjectivesResponse.Builder setServiceLevelObjectives(int index, ServiceLevelObjective.Builder builderForValue)
The ServiceLevelObjective
s matching the specified filter.
repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListServiceLevelObjectivesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides