Class UtilizationReportEventData.Builder (0.16.0)

public static final class UtilizationReportEventData.Builder extends GeneratedMessageV3.Builder<UtilizationReportEventData.Builder> implements UtilizationReportEventDataOrBuilder

The data within all UtilizationReport events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UtilizationReportEventData build()
Returns
Type Description
UtilizationReportEventData

buildPartial()

public UtilizationReportEventData buildPartial()
Returns
Type Description
UtilizationReportEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public UtilizationReportEventData.Builder clearPayload()

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

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

Returns
Type Description
UtilizationReportEventData.Builder

clone()

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

getDefaultInstanceForType()

public UtilizationReportEventData getDefaultInstanceForType()
Returns
Type Description
UtilizationReportEventData

getDescriptorForType()

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

getPayload()

public UtilizationReport getPayload()

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

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

Returns
Type Description
UtilizationReport

The payload.

getPayloadBuilder()

public UtilizationReport.Builder getPayloadBuilder()

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

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

Returns
Type Description
UtilizationReport.Builder

getPayloadOrBuilder()

public UtilizationReportOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
UtilizationReportOrBuilder

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(UtilizationReport value)

public UtilizationReportEventData.Builder mergePayload(UtilizationReport value)

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

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

Parameter
Name Description
value UtilizationReport
Returns
Type Description
UtilizationReportEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(UtilizationReport value)

public UtilizationReportEventData.Builder setPayload(UtilizationReport value)

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

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

Parameter
Name Description
value UtilizationReport
Returns
Type Description
UtilizationReportEventData.Builder

setPayload(UtilizationReport.Builder builderForValue)

public UtilizationReportEventData.Builder setPayload(UtilizationReport.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue UtilizationReport.Builder
Returns
Type Description
UtilizationReportEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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