Class GroupEventData.Builder (0.15.0)

public static final class GroupEventData.Builder extends GeneratedMessageV3.Builder<GroupEventData.Builder> implements GroupEventDataOrBuilder

The data within all Group events.

Protobuf type google.events.cloud.vmmigration.v1.GroupEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GroupEventData build()
Returns
Type Description
GroupEventData

buildPartial()

public GroupEventData buildPartial()
Returns
Type Description
GroupEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public GroupEventData.Builder clearPayload()

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

optional .google.events.cloud.vmmigration.v1.Group payload = 1;

Returns
Type Description
GroupEventData.Builder

clone()

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

getDefaultInstanceForType()

public GroupEventData getDefaultInstanceForType()
Returns
Type Description
GroupEventData

getDescriptorForType()

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

getPayload()

public Group getPayload()

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

optional .google.events.cloud.vmmigration.v1.Group payload = 1;

Returns
Type Description
Group

The payload.

getPayloadBuilder()

public Group.Builder getPayloadBuilder()

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

optional .google.events.cloud.vmmigration.v1.Group payload = 1;

Returns
Type Description
Group.Builder

getPayloadOrBuilder()

public GroupOrBuilder getPayloadOrBuilder()

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

optional .google.events.cloud.vmmigration.v1.Group payload = 1;

Returns
Type Description
GroupOrBuilder

hasPayload()

public boolean hasPayload()

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

optional .google.events.cloud.vmmigration.v1.Group 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(GroupEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Group value)

public GroupEventData.Builder mergePayload(Group value)

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

optional .google.events.cloud.vmmigration.v1.Group payload = 1;

Parameter
Name Description
value Group
Returns
Type Description
GroupEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Group value)

public GroupEventData.Builder setPayload(Group value)

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

optional .google.events.cloud.vmmigration.v1.Group payload = 1;

Parameter
Name Description
value Group
Returns
Type Description
GroupEventData.Builder

setPayload(Group.Builder builderForValue)

public GroupEventData.Builder setPayload(Group.Builder builderForValue)

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

optional .google.events.cloud.vmmigration.v1.Group payload = 1;

Parameter
Name Description
builderForValue Group.Builder
Returns
Type Description
GroupEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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