Class ListServiceLevelObjectivesResponse.Builder (3.38.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.monitoring.v3.ServiceLevelObjective>
Returns
TypeDescription
ListServiceLevelObjectivesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListServiceLevelObjectivesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueServiceLevelObjective
Returns
TypeDescription
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
NameDescription
builderForValueServiceLevelObjective.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueServiceLevelObjective
Returns
TypeDescription
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
NameDescription
indexint
builderForValueServiceLevelObjective.Builder
Returns
TypeDescription
ListServiceLevelObjectivesResponse.Builder

addServiceLevelObjectivesBuilder()

public ServiceLevelObjective.Builder addServiceLevelObjectivesBuilder()

The ServiceLevelObjectives matching the specified filter.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ServiceLevelObjective.Builder

build()

public ListServiceLevelObjectivesResponse build()
Returns
TypeDescription
ListServiceLevelObjectivesResponse

buildPartial()

public ListServiceLevelObjectivesResponse buildPartial()
Returns
TypeDescription
ListServiceLevelObjectivesResponse

clear()

public ListServiceLevelObjectivesResponse.Builder clear()
Returns
TypeDescription
ListServiceLevelObjectivesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListServiceLevelObjectivesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListServiceLevelObjectivesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListServiceLevelObjectivesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListServiceLevelObjectivesResponse.Builder
Overrides

clearServiceLevelObjectives()

public ListServiceLevelObjectivesResponse.Builder clearServiceLevelObjectives()

The ServiceLevelObjectives matching the specified filter.

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

Returns
TypeDescription
ListServiceLevelObjectivesResponse.Builder

clone()

public ListServiceLevelObjectivesResponse.Builder clone()
Returns
TypeDescription
ListServiceLevelObjectivesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListServiceLevelObjectivesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListServiceLevelObjectivesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ServiceLevelObjective.Builder

getServiceLevelObjectivesBuilderList()

public List<ServiceLevelObjective.Builder> getServiceLevelObjectivesBuilderList()

The ServiceLevelObjectives matching the specified filter.

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

Returns
TypeDescription
List<Builder>

getServiceLevelObjectivesCount()

public int getServiceLevelObjectivesCount()

The ServiceLevelObjectives matching the specified filter.

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

Returns
TypeDescription
int

getServiceLevelObjectivesList()

public List<ServiceLevelObjective> getServiceLevelObjectivesList()

The ServiceLevelObjectives matching the specified filter.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ServiceLevelObjectiveOrBuilder

getServiceLevelObjectivesOrBuilderList()

public List<? extends ServiceLevelObjectiveOrBuilder> getServiceLevelObjectivesOrBuilderList()

The ServiceLevelObjectives matching the specified filter.

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

Returns
TypeDescription
List<? extends com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListServiceLevelObjectivesResponse other)

public ListServiceLevelObjectivesResponse.Builder mergeFrom(ListServiceLevelObjectivesResponse other)
Parameter
NameDescription
otherListServiceLevelObjectivesResponse
Returns
TypeDescription
ListServiceLevelObjectivesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListServiceLevelObjectivesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListServiceLevelObjectivesResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListServiceLevelObjectivesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListServiceLevelObjectivesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListServiceLevelObjectivesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListServiceLevelObjectivesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListServiceLevelObjectivesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueServiceLevelObjective
Returns
TypeDescription
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
NameDescription
indexint
builderForValueServiceLevelObjective.Builder
Returns
TypeDescription
ListServiceLevelObjectivesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListServiceLevelObjectivesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListServiceLevelObjectivesResponse.Builder
Overrides