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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DatacenterConnectorEventData.BuilderImplements
DatacenterConnectorEventDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DatacenterConnectorEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
DatacenterConnectorEventData.Builder |
build()
public DatacenterConnectorEventData build()
Returns | |
---|---|
Type | Description |
DatacenterConnectorEventData |
buildPartial()
public DatacenterConnectorEventData buildPartial()
Returns | |
---|---|
Type | Description |
DatacenterConnectorEventData |
clear()
public DatacenterConnectorEventData.Builder clear()
Returns | |
---|---|
Type | Description |
DatacenterConnectorEventData.Builder |
clearField(Descriptors.FieldDescriptor field)
public DatacenterConnectorEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
DatacenterConnectorEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DatacenterConnectorEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
DatacenterConnectorEventData.Builder |
clearPayload()
public DatacenterConnectorEventData.Builder clearPayload()
Optional. The DatacenterConnector event payload. Unset for deletion events.
optional .google.events.cloud.vmmigration.v1.DatacenterConnector payload = 1;
Returns | |
---|---|
Type | Description |
DatacenterConnectorEventData.Builder |
clone()
public DatacenterConnectorEventData.Builder clone()
Returns | |
---|---|
Type | Description |
DatacenterConnectorEventData.Builder |
getDefaultInstanceForType()
public DatacenterConnectorEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DatacenterConnectorEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPayload()
public DatacenterConnector getPayload()
Optional. The DatacenterConnector event payload. Unset for deletion events.
optional .google.events.cloud.vmmigration.v1.DatacenterConnector payload = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
DatacenterConnectorOrBuilder |
hasPayload()
public boolean hasPayload()
Optional. The DatacenterConnector event payload. Unset for deletion events.
optional .google.events.cloud.vmmigration.v1.DatacenterConnector 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(DatacenterConnectorEventData other)
public DatacenterConnectorEventData.Builder mergeFrom(DatacenterConnectorEventData other)
Parameter | |
---|---|
Name | Description |
other | DatacenterConnectorEventData |
Returns | |
---|---|
Type | Description |
DatacenterConnectorEventData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DatacenterConnectorEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DatacenterConnectorEventData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DatacenterConnectorEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
DatacenterConnectorEventData.Builder |
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 | |
---|---|
Name | Description |
value | DatacenterConnector |
Returns | |
---|---|
Type | Description |
DatacenterConnectorEventData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DatacenterConnectorEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DatacenterConnectorEventData.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DatacenterConnectorEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
DatacenterConnectorEventData.Builder |
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 | |
---|---|
Name | Description |
value | DatacenterConnector |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | DatacenterConnector.Builder |
Returns | |
---|---|
Type | Description |
DatacenterConnectorEventData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DatacenterConnectorEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
DatacenterConnectorEventData.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DatacenterConnectorEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DatacenterConnectorEventData.Builder |