Class ListServiceLevelObjectivesResponse.Builder (3.46.0)

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
Type Description
Descriptor

Methods

addAllServiceLevelObjectives(Iterable<? extends ServiceLevelObjective> values)

public ListServiceLevelObjectivesResponse.Builder addAllServiceLevelObjectives(Iterable<? extends ServiceLevelObjective> values)

The ServiceLevelObjectives 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
Type Description
ListServiceLevelObjectivesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListServiceLevelObjectivesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListServiceLevelObjectivesResponse.Builder
Overrides

addServiceLevelObjectives(ServiceLevelObjective value)

public ListServiceLevelObjectivesResponse.Builder addServiceLevelObjectives(ServiceLevelObjective value)

The ServiceLevelObjectives matching the specified filter.

repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;

Parameter
Name Description
value ServiceLevelObjective
Returns
Type Description
ListServiceLevelObjectivesResponse.Builder

addServiceLevelObjectives(ServiceLevelObjective.Builder builderForValue)

public ListServiceLevelObjectivesResponse.Builder addServiceLevelObjectives(ServiceLevelObjective.Builder builderForValue)

The ServiceLevelObjectives matching the specified filter.

repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;

Parameter
Name Description
builderForValue ServiceLevelObjective.Builder
Returns
Type Description
ListServiceLevelObjectivesResponse.Builder

addServiceLevelObjectives(int index, ServiceLevelObjective value)

public ListServiceLevelObjectivesResponse.Builder addServiceLevelObjectives(int index, ServiceLevelObjective value)

The ServiceLevelObjectives matching the specified filter.

repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;

Parameters
Name Description
index int
value ServiceLevelObjective
Returns
Type Description
ListServiceLevelObjectivesResponse.Builder

addServiceLevelObjectives(int index, ServiceLevelObjective.Builder builderForValue)

public ListServiceLevelObjectivesResponse.Builder addServiceLevelObjectives(int index, ServiceLevelObjective.Builder builderForValue)

The ServiceLevelObjectives matching the specified filter.

repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;

Parameters
Name Description
index int
builderForValue ServiceLevelObjective.Builder
Returns
Type Description
ListServiceLevelObjectivesResponse.Builder

addServiceLevelObjectivesBuilder()

public ServiceLevelObjective.Builder addServiceLevelObjectivesBuilder()

The ServiceLevelObjectives matching the specified filter.

repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;

Returns
Type Description
ServiceLevelObjective.Builder

addServiceLevelObjectivesBuilder(int index)

public ServiceLevelObjective.Builder addServiceLevelObjectivesBuilder(int index)

The ServiceLevelObjectives matching the specified filter.

repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;

Parameter
Name Description
index int
Returns
Type Description
ServiceLevelObjective.Builder

build()

public ListServiceLevelObjectivesResponse build()
Returns
Type Description
ListServiceLevelObjectivesResponse

buildPartial()

public ListServiceLevelObjectivesResponse buildPartial()
Returns
Type Description
ListServiceLevelObjectivesResponse

clear()

public ListServiceLevelObjectivesResponse.Builder clear()
Returns
Type Description
ListServiceLevelObjectivesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListServiceLevelObjectivesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListServiceLevelObjectivesResponse.Builder
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
Type Description
ListServiceLevelObjectivesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListServiceLevelObjectivesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListServiceLevelObjectivesResponse.Builder
Overrides

clearServiceLevelObjectives()

public ListServiceLevelObjectivesResponse.Builder clearServiceLevelObjectives()

The ServiceLevelObjectives matching the specified filter.

repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;

Returns
Type Description
ListServiceLevelObjectivesResponse.Builder

clone()

public ListServiceLevelObjectivesResponse.Builder clone()
Returns
Type Description
ListServiceLevelObjectivesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListServiceLevelObjectivesResponse getDefaultInstanceForType()
Returns
Type Description
ListServiceLevelObjectivesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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 ServiceLevelObjectives matching the specified filter.

repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;

Parameter
Name Description
index int
Returns
Type Description
ServiceLevelObjective

getServiceLevelObjectivesBuilder(int index)

public ServiceLevelObjective.Builder getServiceLevelObjectivesBuilder(int index)

The ServiceLevelObjectives matching the specified filter.

repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;

Parameter
Name Description
index int
Returns
Type Description
ServiceLevelObjective.Builder

getServiceLevelObjectivesBuilderList()

public List<ServiceLevelObjective.Builder> getServiceLevelObjectivesBuilderList()

The ServiceLevelObjectives matching the specified filter.

repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;

Returns
Type Description
List<Builder>

getServiceLevelObjectivesCount()

public int getServiceLevelObjectivesCount()

The ServiceLevelObjectives matching the specified filter.

repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;

Returns
Type Description
int

getServiceLevelObjectivesList()

public List<ServiceLevelObjective> getServiceLevelObjectivesList()

The ServiceLevelObjectives matching the specified filter.

repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;

Returns
Type Description
List<ServiceLevelObjective>

getServiceLevelObjectivesOrBuilder(int index)

public ServiceLevelObjectiveOrBuilder getServiceLevelObjectivesOrBuilder(int index)

The ServiceLevelObjectives matching the specified filter.

repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;

Parameter
Name Description
index int
Returns
Type Description
ServiceLevelObjectiveOrBuilder

getServiceLevelObjectivesOrBuilderList()

public List<? extends ServiceLevelObjectiveOrBuilder> getServiceLevelObjectivesOrBuilderList()

The ServiceLevelObjectives 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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListServiceLevelObjectivesResponse other)

public ListServiceLevelObjectivesResponse.Builder mergeFrom(ListServiceLevelObjectivesResponse other)
Parameter
Name Description
other ListServiceLevelObjectivesResponse
Returns
Type Description
ListServiceLevelObjectivesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListServiceLevelObjectivesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListServiceLevelObjectivesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListServiceLevelObjectivesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListServiceLevelObjectivesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListServiceLevelObjectivesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListServiceLevelObjectivesResponse.Builder
Overrides

removeServiceLevelObjectives(int index)

public ListServiceLevelObjectivesResponse.Builder removeServiceLevelObjectives(int index)

The ServiceLevelObjectives matching the specified filter.

repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;

Parameter
Name Description
index int
Returns
Type Description
ListServiceLevelObjectivesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListServiceLevelObjectivesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListServiceLevelObjectivesResponse.Builder
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
Type Description
ListServiceLevelObjectivesResponse.Builder

This builder for chaining.

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
Type Description
ListServiceLevelObjectivesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListServiceLevelObjectivesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListServiceLevelObjectivesResponse.Builder
Overrides

setServiceLevelObjectives(int index, ServiceLevelObjective value)

public ListServiceLevelObjectivesResponse.Builder setServiceLevelObjectives(int index, ServiceLevelObjective value)

The ServiceLevelObjectives matching the specified filter.

repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;

Parameters
Name Description
index int
value ServiceLevelObjective
Returns
Type Description
ListServiceLevelObjectivesResponse.Builder

setServiceLevelObjectives(int index, ServiceLevelObjective.Builder builderForValue)

public ListServiceLevelObjectivesResponse.Builder setServiceLevelObjectives(int index, ServiceLevelObjective.Builder builderForValue)

The ServiceLevelObjectives matching the specified filter.

repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1;

Parameters
Name Description
index int
builderForValue ServiceLevelObjective.Builder
Returns
Type Description
ListServiceLevelObjectivesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListServiceLevelObjectivesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListServiceLevelObjectivesResponse.Builder
Overrides