Class UtilizationReportEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UtilizationReportEventData build()
Returns
TypeDescription
UtilizationReportEventData

buildPartial()

public UtilizationReportEventData buildPartial()
Returns
TypeDescription
UtilizationReportEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UtilizationReportEventData getDefaultInstanceForType()
Returns
TypeDescription
UtilizationReportEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

public UtilizationReportEventData.Builder mergeFrom(UtilizationReportEventData other)
Parameter
NameDescription
otherUtilizationReportEventData
Returns
TypeDescription
UtilizationReportEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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