Class CustomTargetTypeEventData.Builder (0.16.0)

public static final class CustomTargetTypeEventData.Builder extends GeneratedMessageV3.Builder<CustomTargetTypeEventData.Builder> implements CustomTargetTypeEventDataOrBuilder

The data within all CustomTargetType events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CustomTargetTypeEventData build()
Returns
Type Description
CustomTargetTypeEventData

buildPartial()

public CustomTargetTypeEventData buildPartial()
Returns
Type Description
CustomTargetTypeEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public CustomTargetTypeEventData.Builder clearPayload()

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

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

Returns
Type Description
CustomTargetTypeEventData.Builder

clone()

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

getDefaultInstanceForType()

public CustomTargetTypeEventData getDefaultInstanceForType()
Returns
Type Description
CustomTargetTypeEventData

getDescriptorForType()

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

getPayload()

public CustomTargetType getPayload()

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

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

Returns
Type Description
CustomTargetType

The payload.

getPayloadBuilder()

public CustomTargetType.Builder getPayloadBuilder()

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

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

Returns
Type Description
CustomTargetType.Builder

getPayloadOrBuilder()

public CustomTargetTypeOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
CustomTargetTypeOrBuilder

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(CustomTargetType value)

public CustomTargetTypeEventData.Builder mergePayload(CustomTargetType value)

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

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

Parameter
Name Description
value CustomTargetType
Returns
Type Description
CustomTargetTypeEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(CustomTargetType value)

public CustomTargetTypeEventData.Builder setPayload(CustomTargetType value)

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

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

Parameter
Name Description
value CustomTargetType
Returns
Type Description
CustomTargetTypeEventData.Builder

setPayload(CustomTargetType.Builder builderForValue)

public CustomTargetTypeEventData.Builder setPayload(CustomTargetType.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue CustomTargetType.Builder
Returns
Type Description
CustomTargetTypeEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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