Class AutomationEventData.Builder (0.16.0)

public static final class AutomationEventData.Builder extends GeneratedMessageV3.Builder<AutomationEventData.Builder> implements AutomationEventDataOrBuilder

The data within all Automation events.

Protobuf type google.events.cloud.deploy.v1.AutomationEventData

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutomationEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutomationEventData.Builder
Overrides

build()

public AutomationEventData build()
Returns
Type Description
AutomationEventData

buildPartial()

public AutomationEventData buildPartial()
Returns
Type Description
AutomationEventData

clear()

public AutomationEventData.Builder clear()
Returns
Type Description
AutomationEventData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AutomationEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AutomationEventData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AutomationEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AutomationEventData.Builder
Overrides

clearPayload()

public AutomationEventData.Builder clearPayload()

Optional. The Automation event payload. Unset for deletion events.

.google.events.cloud.deploy.v1.Automation payload = 1;

Returns
Type Description
AutomationEventData.Builder

clone()

public AutomationEventData.Builder clone()
Returns
Type Description
AutomationEventData.Builder
Overrides

getDefaultInstanceForType()

public AutomationEventData getDefaultInstanceForType()
Returns
Type Description
AutomationEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPayload()

public Automation getPayload()

Optional. The Automation event payload. Unset for deletion events.

.google.events.cloud.deploy.v1.Automation payload = 1;

Returns
Type Description
Automation

The payload.

getPayloadBuilder()

public Automation.Builder getPayloadBuilder()

Optional. The Automation event payload. Unset for deletion events.

.google.events.cloud.deploy.v1.Automation payload = 1;

Returns
Type Description
Automation.Builder

getPayloadOrBuilder()

public AutomationOrBuilder getPayloadOrBuilder()

Optional. The Automation event payload. Unset for deletion events.

.google.events.cloud.deploy.v1.Automation payload = 1;

Returns
Type Description
AutomationOrBuilder

hasPayload()

public boolean hasPayload()

Optional. The Automation event payload. Unset for deletion events.

.google.events.cloud.deploy.v1.Automation payload = 1;

Returns
Type Description
boolean

Whether the payload field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AutomationEventData other)

public AutomationEventData.Builder mergeFrom(AutomationEventData other)
Parameter
Name Description
other AutomationEventData
Returns
Type Description
AutomationEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutomationEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutomationEventData.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AutomationEventData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AutomationEventData.Builder
Overrides

mergePayload(Automation value)

public AutomationEventData.Builder mergePayload(Automation value)

Optional. The Automation event payload. Unset for deletion events.

.google.events.cloud.deploy.v1.Automation payload = 1;

Parameter
Name Description
value Automation
Returns
Type Description
AutomationEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutomationEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutomationEventData.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AutomationEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutomationEventData.Builder
Overrides

setPayload(Automation value)

public AutomationEventData.Builder setPayload(Automation value)

Optional. The Automation event payload. Unset for deletion events.

.google.events.cloud.deploy.v1.Automation payload = 1;

Parameter
Name Description
value Automation
Returns
Type Description
AutomationEventData.Builder

setPayload(Automation.Builder builderForValue)

public AutomationEventData.Builder setPayload(Automation.Builder builderForValue)

Optional. The Automation event payload. Unset for deletion events.

.google.events.cloud.deploy.v1.Automation payload = 1;

Parameter
Name Description
builderForValue Automation.Builder
Returns
Type Description
AutomationEventData.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AutomationEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AutomationEventData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AutomationEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutomationEventData.Builder
Overrides