public static final class ListServiceLevelObjectivesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListServiceLevelObjectivesRequest.Builder> implements ListServiceLevelObjectivesRequestOrBuilder
The `ListServiceLevelObjectives` request.Protobuf type
google.monitoring.v3.ListServiceLevelObjectivesRequest| Modifier and Type | Method and Description |
|---|---|
ListServiceLevelObjectivesRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListServiceLevelObjectivesRequest |
build() |
ListServiceLevelObjectivesRequest |
buildPartial() |
ListServiceLevelObjectivesRequest.Builder |
clear() |
ListServiceLevelObjectivesRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListServiceLevelObjectivesRequest.Builder |
clearFilter()
A filter specifying what `ServiceLevelObjective`s to return.
|
ListServiceLevelObjectivesRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListServiceLevelObjectivesRequest.Builder |
clearPageSize()
A non-negative number that is the maximum number of results to return.
|
ListServiceLevelObjectivesRequest.Builder |
clearPageToken()
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
ListServiceLevelObjectivesRequest.Builder |
clearParent()
Required.
|
ListServiceLevelObjectivesRequest.Builder |
clearView()
View of the `ServiceLevelObjective`s to return.
|
ListServiceLevelObjectivesRequest.Builder |
clone() |
ListServiceLevelObjectivesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilter()
A filter specifying what `ServiceLevelObjective`s to return.
|
com.google.protobuf.ByteString |
getFilterBytes()
A filter specifying what `ServiceLevelObjective`s to return.
|
int |
getPageSize()
A non-negative number that is the maximum number of results to return.
|
String |
getPageToken()
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
ServiceLevelObjective.View |
getView()
View of the `ServiceLevelObjective`s to return.
|
int |
getViewValue()
View of the `ServiceLevelObjective`s to return.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListServiceLevelObjectivesRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListServiceLevelObjectivesRequest.Builder |
mergeFrom(ListServiceLevelObjectivesRequest other) |
ListServiceLevelObjectivesRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListServiceLevelObjectivesRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListServiceLevelObjectivesRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListServiceLevelObjectivesRequest.Builder |
setFilter(String value)
A filter specifying what `ServiceLevelObjective`s to return.
|
ListServiceLevelObjectivesRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
A filter specifying what `ServiceLevelObjective`s to return.
|
ListServiceLevelObjectivesRequest.Builder |
setPageSize(int value)
A non-negative number that is the maximum number of results to return.
|
ListServiceLevelObjectivesRequest.Builder |
setPageToken(String value)
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
ListServiceLevelObjectivesRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
ListServiceLevelObjectivesRequest.Builder |
setParent(String value)
Required.
|
ListServiceLevelObjectivesRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ListServiceLevelObjectivesRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListServiceLevelObjectivesRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListServiceLevelObjectivesRequest.Builder |
setView(ServiceLevelObjective.View value)
View of the `ServiceLevelObjective`s to return.
|
ListServiceLevelObjectivesRequest.Builder |
setViewValue(int value)
View of the `ServiceLevelObjective`s to return.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListServiceLevelObjectivesRequest.Builder>public ListServiceLevelObjectivesRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListServiceLevelObjectivesRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListServiceLevelObjectivesRequest.Builder>public ListServiceLevelObjectivesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListServiceLevelObjectivesRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListServiceLevelObjectivesRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListServiceLevelObjectivesRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListServiceLevelObjectivesRequest.Builder>public ListServiceLevelObjectivesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListServiceLevelObjectivesRequest.Builder>public ListServiceLevelObjectivesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListServiceLevelObjectivesRequest.Builder>public ListServiceLevelObjectivesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListServiceLevelObjectivesRequest.Builder>public ListServiceLevelObjectivesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListServiceLevelObjectivesRequest.Builder>public ListServiceLevelObjectivesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListServiceLevelObjectivesRequest.Builder>public ListServiceLevelObjectivesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListServiceLevelObjectivesRequest.Builder>public ListServiceLevelObjectivesRequest.Builder mergeFrom(ListServiceLevelObjectivesRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListServiceLevelObjectivesRequest.Builder>public ListServiceLevelObjectivesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListServiceLevelObjectivesRequest.Builder>IOExceptionpublic String getParent()
Required. Resource name of the parent containing the listed SLOs, either a
project or a Monitoring Metrics Scope. The formats are:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ListServiceLevelObjectivesRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. Resource name of the parent containing the listed SLOs, either a
project or a Monitoring Metrics Scope. The formats are:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ListServiceLevelObjectivesRequestOrBuilderpublic ListServiceLevelObjectivesRequest.Builder setParent(String value)
Required. Resource name of the parent containing the listed SLOs, either a
project or a Monitoring Metrics Scope. The formats are:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public ListServiceLevelObjectivesRequest.Builder clearParent()
Required. Resource name of the parent containing the listed SLOs, either a
project or a Monitoring Metrics Scope. The formats are:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListServiceLevelObjectivesRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. Resource name of the parent containing the listed SLOs, either a
project or a Monitoring Metrics Scope. The formats are:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public String getFilter()
A filter specifying what `ServiceLevelObjective`s to return.
string filter = 2;getFilter in interface ListServiceLevelObjectivesRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
A filter specifying what `ServiceLevelObjective`s to return.
string filter = 2;getFilterBytes in interface ListServiceLevelObjectivesRequestOrBuilderpublic ListServiceLevelObjectivesRequest.Builder setFilter(String value)
A filter specifying what `ServiceLevelObjective`s to return.
string filter = 2;value - The filter to set.public ListServiceLevelObjectivesRequest.Builder clearFilter()
A filter specifying what `ServiceLevelObjective`s to return.
string filter = 2;public ListServiceLevelObjectivesRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
A filter specifying what `ServiceLevelObjective`s to return.
string filter = 2;value - The bytes for filter to set.public int getPageSize()
A non-negative number that is the maximum number of results to return. When 0, use default page size.
int32 page_size = 3;getPageSize in interface ListServiceLevelObjectivesRequestOrBuilderpublic ListServiceLevelObjectivesRequest.Builder setPageSize(int value)
A non-negative number that is the maximum number of results to return. When 0, use default page size.
int32 page_size = 3;value - The pageSize to set.public ListServiceLevelObjectivesRequest.Builder clearPageSize()
A non-negative number that is the maximum number of results to return. When 0, use default page size.
int32 page_size = 3;public String getPageToken()
If this field is not empty then it must contain the `nextPageToken` value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.
string page_token = 4;getPageToken in interface ListServiceLevelObjectivesRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
If this field is not empty then it must contain the `nextPageToken` value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.
string page_token = 4;getPageTokenBytes in interface ListServiceLevelObjectivesRequestOrBuilderpublic ListServiceLevelObjectivesRequest.Builder setPageToken(String value)
If this field is not empty then it must contain the `nextPageToken` value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.
string page_token = 4;value - The pageToken to set.public ListServiceLevelObjectivesRequest.Builder clearPageToken()
If this field is not empty then it must contain the `nextPageToken` value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.
string page_token = 4;public ListServiceLevelObjectivesRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
If this field is not empty then it must contain the `nextPageToken` value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.
string page_token = 4;value - The bytes for pageToken to set.public int getViewValue()
View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the `ServiceLevelObjective` is defined in terms of a `BasicSli`, replace the `BasicSli` with a `RequestBasedSli` spelling out how the SLI is computed.
.google.monitoring.v3.ServiceLevelObjective.View view = 5;getViewValue in interface ListServiceLevelObjectivesRequestOrBuilderpublic ListServiceLevelObjectivesRequest.Builder setViewValue(int value)
View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the `ServiceLevelObjective` is defined in terms of a `BasicSli`, replace the `BasicSli` with a `RequestBasedSli` spelling out how the SLI is computed.
.google.monitoring.v3.ServiceLevelObjective.View view = 5;value - The enum numeric value on the wire for view to set.public ServiceLevelObjective.View getView()
View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the `ServiceLevelObjective` is defined in terms of a `BasicSli`, replace the `BasicSli` with a `RequestBasedSli` spelling out how the SLI is computed.
.google.monitoring.v3.ServiceLevelObjective.View view = 5;getView in interface ListServiceLevelObjectivesRequestOrBuilderpublic ListServiceLevelObjectivesRequest.Builder setView(ServiceLevelObjective.View value)
View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the `ServiceLevelObjective` is defined in terms of a `BasicSli`, replace the `BasicSli` with a `RequestBasedSli` spelling out how the SLI is computed.
.google.monitoring.v3.ServiceLevelObjective.View view = 5;value - The view to set.public ListServiceLevelObjectivesRequest.Builder clearView()
View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the `ServiceLevelObjective` is defined in terms of a `BasicSli`, replace the `BasicSli` with a `RequestBasedSli` spelling out how the SLI is computed.
.google.monitoring.v3.ServiceLevelObjective.View view = 5;public final ListServiceLevelObjectivesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListServiceLevelObjectivesRequest.Builder>public final ListServiceLevelObjectivesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListServiceLevelObjectivesRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.