Class TargetEventData.Builder (0.16.0)

public static final class TargetEventData.Builder extends GeneratedMessageV3.Builder<TargetEventData.Builder> implements TargetEventDataOrBuilder

The data within all Target events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TargetEventData build()
Returns
Type Description
TargetEventData

buildPartial()

public TargetEventData buildPartial()
Returns
Type Description
TargetEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public TargetEventData.Builder clearPayload()

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

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

Returns
Type Description
TargetEventData.Builder

clone()

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

getDefaultInstanceForType()

public TargetEventData getDefaultInstanceForType()
Returns
Type Description
TargetEventData

getDescriptorForType()

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

getPayload()

public Target getPayload()

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

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

Returns
Type Description
Target

The payload.

getPayloadBuilder()

public Target.Builder getPayloadBuilder()

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

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

Returns
Type Description
Target.Builder

getPayloadOrBuilder()

public TargetOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
TargetOrBuilder

hasPayload()

public boolean hasPayload()

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

.google.events.cloud.deploy.v1.Target 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(TargetEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Target value)

public TargetEventData.Builder mergePayload(Target value)

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

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

Parameter
Name Description
value Target
Returns
Type Description
TargetEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Target value)

public TargetEventData.Builder setPayload(Target value)

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

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

Parameter
Name Description
value Target
Returns
Type Description
TargetEventData.Builder

setPayload(Target.Builder builderForValue)

public TargetEventData.Builder setPayload(Target.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Target.Builder
Returns
Type Description
TargetEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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