Class ListServiceLevelObjectivesResponse.Builder (3.2.10)

public static final class ListServiceLevelObjectivesResponse.Builder extends GeneratedMessageV3.Builder<ListServiceLevelObjectivesResponse.Builder> implements ListServiceLevelObjectivesResponseOrBuilder

The ListServiceLevelObjectives response.

Protobuf type google.monitoring.v3.ListServiceLevelObjectivesResponse

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
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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

addServiceLevelObjectivesBuilder()

public ServiceLevelObjective.Builder addServiceLevelObjectivesBuilder()

The ServiceLevelObjectives matching the specified filter.

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

Returns

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

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
NameDescription
fieldFieldDescriptor
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
TypeDescription
ListServiceLevelObjectivesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceLevelObjectives()

public ListServiceLevelObjectivesResponse.Builder clearServiceLevelObjectives()

The ServiceLevelObjectives 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
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

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

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 Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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