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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public UtilizationReportEventData build()
Returns
TypeDescription
UtilizationReportEventData

buildPartial()

public UtilizationReportEventData buildPartial()
Returns
TypeDescription
UtilizationReportEventData

clear()

public UtilizationReportEventData.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UtilizationReportEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Overrides

clearPayload()

public UtilizationReportEventData.Builder clearPayload()

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

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

clone()

public UtilizationReportEventData.Builder clone()
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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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