public static final class SourceEventData.Builder extends GeneratedMessageV3.Builder<SourceEventData.Builder> implements SourceEventDataOrBuilder
The data within all Source events.
Protobuf type google.events.cloud.vmmigration.v1.SourceEventData
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SourceEventData.BuilderImplements
SourceEventDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SourceEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SourceEventData.Builder |
build()
public SourceEventData build()
Returns | |
---|---|
Type | Description |
SourceEventData |
buildPartial()
public SourceEventData buildPartial()
Returns | |
---|---|
Type | Description |
SourceEventData |
clear()
public SourceEventData.Builder clear()
Returns | |
---|---|
Type | Description |
SourceEventData.Builder |
clearField(Descriptors.FieldDescriptor field)
public SourceEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SourceEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SourceEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SourceEventData.Builder |
clearPayload()
public SourceEventData.Builder clearPayload()
Optional. The Source event payload. Unset for deletion events.
optional .google.events.cloud.vmmigration.v1.Source payload = 1;
Returns | |
---|---|
Type | Description |
SourceEventData.Builder |
clone()
public SourceEventData.Builder clone()
Returns | |
---|---|
Type | Description |
SourceEventData.Builder |
getDefaultInstanceForType()
public SourceEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SourceEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPayload()
public Source getPayload()
Optional. The Source event payload. Unset for deletion events.
optional .google.events.cloud.vmmigration.v1.Source payload = 1;
Returns | |
---|---|
Type | Description |
Source |
The payload. |
getPayloadBuilder()
public Source.Builder getPayloadBuilder()
Optional. The Source event payload. Unset for deletion events.
optional .google.events.cloud.vmmigration.v1.Source payload = 1;
Returns | |
---|---|
Type | Description |
Source.Builder |
getPayloadOrBuilder()
public SourceOrBuilder getPayloadOrBuilder()
Optional. The Source event payload. Unset for deletion events.
optional .google.events.cloud.vmmigration.v1.Source payload = 1;
Returns | |
---|---|
Type | Description |
SourceOrBuilder |
hasPayload()
public boolean hasPayload()
Optional. The Source event payload. Unset for deletion events.
optional .google.events.cloud.vmmigration.v1.Source payload = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the payload field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SourceEventData other)
public SourceEventData.Builder mergeFrom(SourceEventData other)
Parameter | |
---|---|
Name | Description |
other |
SourceEventData |
Returns | |
---|---|
Type | Description |
SourceEventData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SourceEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SourceEventData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SourceEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SourceEventData.Builder |
mergePayload(Source value)
public SourceEventData.Builder mergePayload(Source value)
Optional. The Source event payload. Unset for deletion events.
optional .google.events.cloud.vmmigration.v1.Source payload = 1;
Parameter | |
---|---|
Name | Description |
value |
Source |
Returns | |
---|---|
Type | Description |
SourceEventData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SourceEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SourceEventData.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SourceEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SourceEventData.Builder |
setPayload(Source value)
public SourceEventData.Builder setPayload(Source value)
Optional. The Source event payload. Unset for deletion events.
optional .google.events.cloud.vmmigration.v1.Source payload = 1;
Parameter | |
---|---|
Name | Description |
value |
Source |
Returns | |
---|---|
Type | Description |
SourceEventData.Builder |
setPayload(Source.Builder builderForValue)
public SourceEventData.Builder setPayload(Source.Builder builderForValue)
Optional. The Source event payload. Unset for deletion events.
optional .google.events.cloud.vmmigration.v1.Source payload = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
Source.Builder |
Returns | |
---|---|
Type | Description |
SourceEventData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SourceEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SourceEventData.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SourceEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SourceEventData.Builder |