Class DatacenterConnectorEventData.Builder (0.14.1)

public static final class DatacenterConnectorEventData.Builder extends GeneratedMessageV3.Builder<DatacenterConnectorEventData.Builder> implements DatacenterConnectorEventDataOrBuilder

The data within all DatacenterConnector events.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DatacenterConnectorEventData build()
Returns
TypeDescription
DatacenterConnectorEventData

buildPartial()

public DatacenterConnectorEventData buildPartial()
Returns
TypeDescription
DatacenterConnectorEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public DatacenterConnectorEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DatacenterConnectorEventData.Builder
Overrides

clearPayload()

public DatacenterConnectorEventData.Builder clearPayload()

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

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

Returns
TypeDescription
DatacenterConnectorEventData.Builder

clone()

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

getDefaultInstanceForType()

public DatacenterConnectorEventData getDefaultInstanceForType()
Returns
TypeDescription
DatacenterConnectorEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public DatacenterConnector getPayload()

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

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

Returns
TypeDescription
DatacenterConnector

The payload.

getPayloadBuilder()

public DatacenterConnector.Builder getPayloadBuilder()

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

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

Returns
TypeDescription
DatacenterConnector.Builder

getPayloadOrBuilder()

public DatacenterConnectorOrBuilder getPayloadOrBuilder()

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

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

Returns
TypeDescription
DatacenterConnectorOrBuilder

hasPayload()

public boolean hasPayload()

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

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

public DatacenterConnectorEventData.Builder mergeFrom(DatacenterConnectorEventData other)
Parameter
NameDescription
otherDatacenterConnectorEventData
Returns
TypeDescription
DatacenterConnectorEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DatacenterConnectorEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DatacenterConnectorEventData.Builder
Overrides

mergePayload(DatacenterConnector value)

public DatacenterConnectorEventData.Builder mergePayload(DatacenterConnector value)

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

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

Parameter
NameDescription
valueDatacenterConnector
Returns
TypeDescription
DatacenterConnectorEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(DatacenterConnector value)

public DatacenterConnectorEventData.Builder setPayload(DatacenterConnector value)

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

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

Parameter
NameDescription
valueDatacenterConnector
Returns
TypeDescription
DatacenterConnectorEventData.Builder

setPayload(DatacenterConnector.Builder builderForValue)

public DatacenterConnectorEventData.Builder setPayload(DatacenterConnector.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueDatacenterConnector.Builder
Returns
TypeDescription
DatacenterConnectorEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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