public static final class JobEventData.Builder extends GeneratedMessageV3.Builder<JobEventData.Builder> implements JobEventDataOrBuilder
The data within all Job events.
Protobuf type google.events.cloud.scheduler.v1.JobEventData
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > JobEventData.BuilderImplements
JobEventDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public JobEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
JobEventData.Builder |
build()
public JobEventData build()
Returns | |
---|---|
Type | Description |
JobEventData |
buildPartial()
public JobEventData buildPartial()
Returns | |
---|---|
Type | Description |
JobEventData |
clear()
public JobEventData.Builder clear()
Returns | |
---|---|
Type | Description |
JobEventData.Builder |
clearField(Descriptors.FieldDescriptor field)
public JobEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
JobEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public JobEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
JobEventData.Builder |
clearPayload()
public JobEventData.Builder clearPayload()
Optional. The Job event payload. Unset for deletion events.
.google.events.cloud.scheduler.v1.Job payload = 1;
Returns | |
---|---|
Type | Description |
JobEventData.Builder |
clone()
public JobEventData.Builder clone()
Returns | |
---|---|
Type | Description |
JobEventData.Builder |
getDefaultInstanceForType()
public JobEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
JobEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPayload()
public Job getPayload()
Optional. The Job event payload. Unset for deletion events.
.google.events.cloud.scheduler.v1.Job payload = 1;
Returns | |
---|---|
Type | Description |
Job |
The payload. |
getPayloadBuilder()
public Job.Builder getPayloadBuilder()
Optional. The Job event payload. Unset for deletion events.
.google.events.cloud.scheduler.v1.Job payload = 1;
Returns | |
---|---|
Type | Description |
Job.Builder |
getPayloadOrBuilder()
public JobOrBuilder getPayloadOrBuilder()
Optional. The Job event payload. Unset for deletion events.
.google.events.cloud.scheduler.v1.Job payload = 1;
Returns | |
---|---|
Type | Description |
JobOrBuilder |
hasPayload()
public boolean hasPayload()
Optional. The Job event payload. Unset for deletion events.
.google.events.cloud.scheduler.v1.Job payload = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the payload field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(JobEventData other)
public JobEventData.Builder mergeFrom(JobEventData other)
Parameter | |
---|---|
Name | Description |
other |
JobEventData |
Returns | |
---|---|
Type | Description |
JobEventData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public JobEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
JobEventData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public JobEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
JobEventData.Builder |
mergePayload(Job value)
public JobEventData.Builder mergePayload(Job value)
Optional. The Job event payload. Unset for deletion events.
.google.events.cloud.scheduler.v1.Job payload = 1;
Parameter | |
---|---|
Name | Description |
value |
Job |
Returns | |
---|---|
Type | Description |
JobEventData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final JobEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
JobEventData.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public JobEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
JobEventData.Builder |
setPayload(Job value)
public JobEventData.Builder setPayload(Job value)
Optional. The Job event payload. Unset for deletion events.
.google.events.cloud.scheduler.v1.Job payload = 1;
Parameter | |
---|---|
Name | Description |
value |
Job |
Returns | |
---|---|
Type | Description |
JobEventData.Builder |
setPayload(Job.Builder builderForValue)
public JobEventData.Builder setPayload(Job.Builder builderForValue)
Optional. The Job event payload. Unset for deletion events.
.google.events.cloud.scheduler.v1.Job payload = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
Job.Builder |
Returns | |
---|---|
Type | Description |
JobEventData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public JobEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
JobEventData.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final JobEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
JobEventData.Builder |