public final class ListJobsRequest extends com.google.protobuf.GeneratedMessageV3 implements ListJobsRequestOrBuilder
A request to list jobs in a project.Protobuf type
google.cloud.dataproc.v1.ListJobsRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ListJobsRequest.Builder
A request to list jobs in a project.
|
static class |
ListJobsRequest.JobStateMatcher
A matcher that specifies categories of job states.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_NAME_FIELD_NUMBER |
static int |
FILTER_FIELD_NUMBER |
static int |
JOB_STATE_MATCHER_FIELD_NUMBER |
static int |
PAGE_SIZE_FIELD_NUMBER |
static int |
PAGE_TOKEN_FIELD_NUMBER |
static int |
PROJECT_ID_FIELD_NUMBER |
static int |
REGION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getClusterName()
Optional.
|
com.google.protobuf.ByteString |
getClusterNameBytes()
Optional.
|
static ListJobsRequest |
getDefaultInstance() |
ListJobsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFilter()
Optional.
|
com.google.protobuf.ByteString |
getFilterBytes()
Optional.
|
ListJobsRequest.JobStateMatcher |
getJobStateMatcher()
Optional.
|
int |
getJobStateMatcherValue()
Optional.
|
int |
getPageSize()
Optional.
|
String |
getPageToken()
Optional.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
Optional.
|
com.google.protobuf.Parser<ListJobsRequest> |
getParserForType() |
String |
getProjectId()
Required.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
Required.
|
String |
getRegion()
Required.
|
com.google.protobuf.ByteString |
getRegionBytes()
Required.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ListJobsRequest.Builder |
newBuilder() |
static ListJobsRequest.Builder |
newBuilder(ListJobsRequest prototype) |
ListJobsRequest.Builder |
newBuilderForType() |
protected ListJobsRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ListJobsRequest |
parseDelimitedFrom(InputStream input) |
static ListJobsRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListJobsRequest |
parseFrom(byte[] data) |
static ListJobsRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListJobsRequest |
parseFrom(ByteBuffer data) |
static ListJobsRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListJobsRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ListJobsRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListJobsRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ListJobsRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListJobsRequest |
parseFrom(InputStream input) |
static ListJobsRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ListJobsRequest> |
parser() |
ListJobsRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PROJECT_ID_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
public static final int CLUSTER_NAME_FIELD_NUMBER
public static final int JOB_STATE_MATCHER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getProjectId()
Required. The ID of the Google Cloud Platform project that the job belongs to.
string project_id = 1;getProjectId in interface ListJobsRequestOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
Required. The ID of the Google Cloud Platform project that the job belongs to.
string project_id = 1;getProjectIdBytes in interface ListJobsRequestOrBuilderpublic String getRegion()
Required. The Cloud Dataproc region in which to handle the request.
string region = 6;getRegion in interface ListJobsRequestOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
Required. The Cloud Dataproc region in which to handle the request.
string region = 6;getRegionBytes in interface ListJobsRequestOrBuilderpublic int getPageSize()
Optional. The number of results to return in each response.
int32 page_size = 2;getPageSize in interface ListJobsRequestOrBuilderpublic String getPageToken()
Optional. The page token, returned by a previous call, to request the next page of results.
string page_token = 3;getPageToken in interface ListJobsRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
Optional. The page token, returned by a previous call, to request the next page of results.
string page_token = 3;getPageTokenBytes in interface ListJobsRequestOrBuilderpublic String getClusterName()
Optional. If set, the returned jobs list includes only jobs that were submitted to the named cluster.
string cluster_name = 4;getClusterName in interface ListJobsRequestOrBuilderpublic com.google.protobuf.ByteString getClusterNameBytes()
Optional. If set, the returned jobs list includes only jobs that were submitted to the named cluster.
string cluster_name = 4;getClusterNameBytes in interface ListJobsRequestOrBuilderpublic int getJobStateMatcherValue()
Optional. Specifies enumerated categories of jobs to list. (default = match ALL jobs). If `filter` is provided, `jobStateMatcher` will be ignored.
.google.cloud.dataproc.v1.ListJobsRequest.JobStateMatcher job_state_matcher = 5;getJobStateMatcherValue in interface ListJobsRequestOrBuilderpublic ListJobsRequest.JobStateMatcher getJobStateMatcher()
Optional. Specifies enumerated categories of jobs to list. (default = match ALL jobs). If `filter` is provided, `jobStateMatcher` will be ignored.
.google.cloud.dataproc.v1.ListJobsRequest.JobStateMatcher job_state_matcher = 5;getJobStateMatcher in interface ListJobsRequestOrBuilderpublic String getFilter()
Optional. A filter constraining the jobs to list. Filters are case-sensitive and have the following syntax: [field = value] AND [field [= value]] ... where **field** is `status.state` or `labels.[KEY]`, and `[KEY]` is a label key. **value** can be `*` to match all values. `status.state` can be either `ACTIVE` or `NON_ACTIVE`. Only the logical `AND` operator is supported; space-separated items are treated as having an implicit `AND` operator. Example filter: status.state = ACTIVE AND labels.env = staging AND labels.starred = *
string filter = 7;getFilter in interface ListJobsRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
Optional. A filter constraining the jobs to list. Filters are case-sensitive and have the following syntax: [field = value] AND [field [= value]] ... where **field** is `status.state` or `labels.[KEY]`, and `[KEY]` is a label key. **value** can be `*` to match all values. `status.state` can be either `ACTIVE` or `NON_ACTIVE`. Only the logical `AND` operator is supported; space-separated items are treated as having an implicit `AND` operator. Example filter: status.state = ACTIVE AND labels.env = staging AND labels.starred = *
string filter = 7;getFilterBytes in interface ListJobsRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ListJobsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListJobsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListJobsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListJobsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListJobsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListJobsRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ListJobsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListJobsRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ListJobsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListJobsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ListJobsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ListJobsRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ListJobsRequest.Builder newBuilder()
public static ListJobsRequest.Builder newBuilder(ListJobsRequest prototype)
public ListJobsRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ListJobsRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ListJobsRequest getDefaultInstance()
public static com.google.protobuf.Parser<ListJobsRequest> parser()
public com.google.protobuf.Parser<ListJobsRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ListJobsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.