Class GroupEventData.Builder (0.14.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GroupEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GroupEventData.Builder
Overrides

build()

public GroupEventData build()
Returns
TypeDescription
GroupEventData

buildPartial()

public GroupEventData buildPartial()
Returns
TypeDescription
GroupEventData

clear()

public GroupEventData.Builder clear()
Returns
TypeDescription
GroupEventData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GroupEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GroupEventData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GroupEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
GroupEventData.Builder

clone()

public GroupEventData.Builder clone()
Returns
TypeDescription
GroupEventData.Builder
Overrides

getDefaultInstanceForType()

public GroupEventData getDefaultInstanceForType()
Returns
TypeDescription
GroupEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
GroupOrBuilder

hasPayload()

public boolean hasPayload()

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

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

Returns
TypeDescription
boolean

Whether the payload field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GroupEventData other)

public GroupEventData.Builder mergeFrom(GroupEventData other)
Parameter
NameDescription
otherGroupEventData
Returns
TypeDescription
GroupEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GroupEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GroupEventData.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GroupEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueGroup
Returns
TypeDescription
GroupEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GroupEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GroupEventData.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GroupEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueGroup
Returns
TypeDescription
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
NameDescription
builderForValueGroup.Builder
Returns
TypeDescription
GroupEventData.Builder

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

public GroupEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GroupEventData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GroupEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GroupEventData.Builder
Overrides