- 2.86.0 (latest)
- 2.84.0
- 2.83.0
- 2.82.0
- 2.81.0
- 2.80.0
- 2.78.0
- 2.76.0
- 2.75.0
- 2.72.0
- 2.71.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class Job.Builder extends GeneratedMessageV3.Builder<Job.Builder> implements JobOrBuilderDescribes a job
Protobuf type google.cloud.securitycenter.v2.Job
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Job.BuilderImplements
JobOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Job.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
|
build()
public Job build()| Returns | |
|---|---|
| Type | Description |
Job |
|
buildPartial()
public Job buildPartial()| Returns | |
|---|---|
| Type | Description |
Job |
|
clear()
public Job.Builder clear()| Returns | |
|---|---|
| Type | Description |
Job.Builder |
|
clearErrorCode()
public Job.Builder clearErrorCode()Optional. If the job did not complete successfully, this field describes why.
int32 error_code = 3;
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Job.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
|
clearLocation()
public Job.Builder clearLocation() Optional. Gives the location where the job ran, such as US or
europe-west1
string location = 4;
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
This builder for chaining. |
clearName()
public Job.Builder clearName() The fully-qualified name for a job.
e.g. projects/<project_id>/jobs/<job_id>
string name = 1;
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Job.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
|
clearState()
public Job.Builder clearState() Output only. State of the job, such as RUNNING or PENDING.
.google.cloud.securitycenter.v2.JobState state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
This builder for chaining. |
clone()
public Job.Builder clone()| Returns | |
|---|---|
| Type | Description |
Job.Builder |
|
getDefaultInstanceForType()
public Job getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Job |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getErrorCode()
public int getErrorCode()Optional. If the job did not complete successfully, this field describes why.
int32 error_code = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The errorCode. |
getLocation()
public String getLocation() Optional. Gives the location where the job ran, such as US or
europe-west1
string location = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes() Optional. Gives the location where the job ran, such as US or
europe-west1
string location = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for location. |
getName()
public String getName() The fully-qualified name for a job.
e.g. projects/<project_id>/jobs/<job_id>
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() The fully-qualified name for a job.
e.g. projects/<project_id>/jobs/<job_id>
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getState()
public JobState getState() Output only. State of the job, such as RUNNING or PENDING.
.google.cloud.securitycenter.v2.JobState state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
JobState |
The state. |
getStateValue()
public int getStateValue() Output only. State of the job, such as RUNNING or PENDING.
.google.cloud.securitycenter.v2.JobState state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Job other)
public Job.Builder mergeFrom(Job other)| Parameter | |
|---|---|
| Name | Description |
other |
Job |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Job.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Job.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Job.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
|
setErrorCode(int value)
public Job.Builder setErrorCode(int value)Optional. If the job did not complete successfully, this field describes why.
int32 error_code = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe errorCode to set. |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Job.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
|
setLocation(String value)
public Job.Builder setLocation(String value) Optional. Gives the location where the job ran, such as US or
europe-west1
string location = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe location to set. |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public Job.Builder setLocationBytes(ByteString value) Optional. Gives the location where the job ran, such as US or
europe-west1
string location = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for location to set. |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
This builder for chaining. |
setName(String value)
public Job.Builder setName(String value) The fully-qualified name for a job.
e.g. projects/<project_id>/jobs/<job_id>
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Job.Builder setNameBytes(ByteString value) The fully-qualified name for a job.
e.g. projects/<project_id>/jobs/<job_id>
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Job.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
|
setState(JobState value)
public Job.Builder setState(JobState value) Output only. State of the job, such as RUNNING or PENDING.
.google.cloud.securitycenter.v2.JobState state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
JobStateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
This builder for chaining. |
setStateValue(int value)
public Job.Builder setStateValue(int value) Output only. State of the job, such as RUNNING or PENDING.
.google.cloud.securitycenter.v2.JobState state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Job.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
|