public static final class ListServicesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListServicesRequest.Builder> implements ListServicesRequestOrBuilder
The `ListServices` request.Protobuf type
google.monitoring.v3.ListServicesRequest| Modifier and Type | Method and Description |
|---|---|
ListServicesRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListServicesRequest |
build() |
ListServicesRequest |
buildPartial() |
ListServicesRequest.Builder |
clear() |
ListServicesRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListServicesRequest.Builder |
clearFilter()
A filter specifying what `Service`s to return.
|
ListServicesRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListServicesRequest.Builder |
clearPageSize()
A non-negative number that is the maximum number of results to return.
|
ListServicesRequest.Builder |
clearPageToken()
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
ListServicesRequest.Builder |
clearParent()
Required.
|
ListServicesRequest.Builder |
clone() |
ListServicesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilter()
A filter specifying what `Service`s to return.
|
com.google.protobuf.ByteString |
getFilterBytes()
A filter specifying what `Service`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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListServicesRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListServicesRequest.Builder |
mergeFrom(ListServicesRequest other) |
ListServicesRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListServicesRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListServicesRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListServicesRequest.Builder |
setFilter(String value)
A filter specifying what `Service`s to return.
|
ListServicesRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
A filter specifying what `Service`s to return.
|
ListServicesRequest.Builder |
setPageSize(int value)
A non-negative number that is the maximum number of results to return.
|
ListServicesRequest.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.
|
ListServicesRequest.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.
|
ListServicesRequest.Builder |
setParent(String value)
Required.
|
ListServicesRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ListServicesRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListServicesRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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<ListServicesRequest.Builder>public ListServicesRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListServicesRequest.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<ListServicesRequest.Builder>public ListServicesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListServicesRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListServicesRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListServicesRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListServicesRequest.Builder>public ListServicesRequest.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<ListServicesRequest.Builder>public ListServicesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListServicesRequest.Builder>public ListServicesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListServicesRequest.Builder>public ListServicesRequest.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<ListServicesRequest.Builder>public ListServicesRequest.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<ListServicesRequest.Builder>public ListServicesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListServicesRequest.Builder>public ListServicesRequest.Builder mergeFrom(ListServicesRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListServicesRequest.Builder>public ListServicesRequest.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<ListServicesRequest.Builder>IOExceptionpublic String getParent()
Required. Resource name of the parent containing the listed services,
either a [project](https://cloud.google.com/monitoring/api/v3#project_name)
or a Monitoring Metrics Scope. The formats are:
projects/[PROJECT_ID_OR_NUMBER]
workspaces/[HOST_PROJECT_ID_OR_NUMBER]
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ListServicesRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. Resource name of the parent containing the listed services,
either a [project](https://cloud.google.com/monitoring/api/v3#project_name)
or a Monitoring Metrics Scope. The formats are:
projects/[PROJECT_ID_OR_NUMBER]
workspaces/[HOST_PROJECT_ID_OR_NUMBER]
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ListServicesRequestOrBuilderpublic ListServicesRequest.Builder setParent(String value)
Required. Resource name of the parent containing the listed services,
either a [project](https://cloud.google.com/monitoring/api/v3#project_name)
or a Monitoring Metrics Scope. The formats are:
projects/[PROJECT_ID_OR_NUMBER]
workspaces/[HOST_PROJECT_ID_OR_NUMBER]
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public ListServicesRequest.Builder clearParent()
Required. Resource name of the parent containing the listed services,
either a [project](https://cloud.google.com/monitoring/api/v3#project_name)
or a Monitoring Metrics Scope. The formats are:
projects/[PROJECT_ID_OR_NUMBER]
workspaces/[HOST_PROJECT_ID_OR_NUMBER]
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListServicesRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. Resource name of the parent containing the listed services,
either a [project](https://cloud.google.com/monitoring/api/v3#project_name)
or a Monitoring Metrics Scope. The formats are:
projects/[PROJECT_ID_OR_NUMBER]
workspaces/[HOST_PROJECT_ID_OR_NUMBER]
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 `Service`s to return. The filter supports filtering on a particular service-identifier type or one of its attributes. To filter on a particular service-identifier type, the `identifier_case` refers to which option in the `identifier` field is populated. For example, the filter `identifier_case = "CUSTOM"` would match all services with a value for the `custom` field. Valid options include "CUSTOM", "APP_ENGINE", "MESH_ISTIO", and the other options listed at https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services#Service To filter on an attribute of a service-identifier type, apply the filter name by using the snake case of the service-identifier type and the attribute of that service-identifier type, and join the two with a period. For example, to filter by the `meshUid` field of the `MeshIstio` service-identifier type, you must filter on `mesh_istio.mesh_uid = "123"` to match all services with mesh UID "123". Service-identifier types and their attributes are described at https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services#Service
string filter = 2;getFilter in interface ListServicesRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
A filter specifying what `Service`s to return. The filter supports filtering on a particular service-identifier type or one of its attributes. To filter on a particular service-identifier type, the `identifier_case` refers to which option in the `identifier` field is populated. For example, the filter `identifier_case = "CUSTOM"` would match all services with a value for the `custom` field. Valid options include "CUSTOM", "APP_ENGINE", "MESH_ISTIO", and the other options listed at https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services#Service To filter on an attribute of a service-identifier type, apply the filter name by using the snake case of the service-identifier type and the attribute of that service-identifier type, and join the two with a period. For example, to filter by the `meshUid` field of the `MeshIstio` service-identifier type, you must filter on `mesh_istio.mesh_uid = "123"` to match all services with mesh UID "123". Service-identifier types and their attributes are described at https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services#Service
string filter = 2;getFilterBytes in interface ListServicesRequestOrBuilderpublic ListServicesRequest.Builder setFilter(String value)
A filter specifying what `Service`s to return. The filter supports filtering on a particular service-identifier type or one of its attributes. To filter on a particular service-identifier type, the `identifier_case` refers to which option in the `identifier` field is populated. For example, the filter `identifier_case = "CUSTOM"` would match all services with a value for the `custom` field. Valid options include "CUSTOM", "APP_ENGINE", "MESH_ISTIO", and the other options listed at https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services#Service To filter on an attribute of a service-identifier type, apply the filter name by using the snake case of the service-identifier type and the attribute of that service-identifier type, and join the two with a period. For example, to filter by the `meshUid` field of the `MeshIstio` service-identifier type, you must filter on `mesh_istio.mesh_uid = "123"` to match all services with mesh UID "123". Service-identifier types and their attributes are described at https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services#Service
string filter = 2;value - The filter to set.public ListServicesRequest.Builder clearFilter()
A filter specifying what `Service`s to return. The filter supports filtering on a particular service-identifier type or one of its attributes. To filter on a particular service-identifier type, the `identifier_case` refers to which option in the `identifier` field is populated. For example, the filter `identifier_case = "CUSTOM"` would match all services with a value for the `custom` field. Valid options include "CUSTOM", "APP_ENGINE", "MESH_ISTIO", and the other options listed at https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services#Service To filter on an attribute of a service-identifier type, apply the filter name by using the snake case of the service-identifier type and the attribute of that service-identifier type, and join the two with a period. For example, to filter by the `meshUid` field of the `MeshIstio` service-identifier type, you must filter on `mesh_istio.mesh_uid = "123"` to match all services with mesh UID "123". Service-identifier types and their attributes are described at https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services#Service
string filter = 2;public ListServicesRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
A filter specifying what `Service`s to return. The filter supports filtering on a particular service-identifier type or one of its attributes. To filter on a particular service-identifier type, the `identifier_case` refers to which option in the `identifier` field is populated. For example, the filter `identifier_case = "CUSTOM"` would match all services with a value for the `custom` field. Valid options include "CUSTOM", "APP_ENGINE", "MESH_ISTIO", and the other options listed at https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services#Service To filter on an attribute of a service-identifier type, apply the filter name by using the snake case of the service-identifier type and the attribute of that service-identifier type, and join the two with a period. For example, to filter by the `meshUid` field of the `MeshIstio` service-identifier type, you must filter on `mesh_istio.mesh_uid = "123"` to match all services with mesh UID "123". Service-identifier types and their attributes are described at https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services#Service
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 ListServicesRequestOrBuilderpublic ListServicesRequest.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 ListServicesRequest.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 ListServicesRequestOrBuilderpublic 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 ListServicesRequestOrBuilderpublic ListServicesRequest.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 ListServicesRequest.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 ListServicesRequest.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 final ListServicesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListServicesRequest.Builder>public final ListServicesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListServicesRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.