public static final class PrivateConnectionEventData.Builder extends GeneratedMessageV3.Builder<PrivateConnectionEventData.Builder> implements PrivateConnectionEventDataOrBuilder
The data within all PrivateConnection events.
Protobuf type google.events.cloud.datastream.v1.PrivateConnectionEventData
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PrivateConnectionEventData.BuilderImplements
PrivateConnectionEventDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrivateConnectionEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PrivateConnectionEventData.Builder |
build()
public PrivateConnectionEventData build()
Returns | |
---|---|
Type | Description |
PrivateConnectionEventData |
buildPartial()
public PrivateConnectionEventData buildPartial()
Returns | |
---|---|
Type | Description |
PrivateConnectionEventData |
clear()
public PrivateConnectionEventData.Builder clear()
Returns | |
---|---|
Type | Description |
PrivateConnectionEventData.Builder |
clearField(Descriptors.FieldDescriptor field)
public PrivateConnectionEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
PrivateConnectionEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivateConnectionEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
PrivateConnectionEventData.Builder |
clearPayload()
public PrivateConnectionEventData.Builder clearPayload()
Optional. The PrivateConnection event payload. Unset for deletion events.
optional .google.events.cloud.datastream.v1.PrivateConnection payload = 1;
Returns | |
---|---|
Type | Description |
PrivateConnectionEventData.Builder |
clone()
public PrivateConnectionEventData.Builder clone()
Returns | |
---|---|
Type | Description |
PrivateConnectionEventData.Builder |
getDefaultInstanceForType()
public PrivateConnectionEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PrivateConnectionEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPayload()
public PrivateConnection getPayload()
Optional. The PrivateConnection event payload. Unset for deletion events.
optional .google.events.cloud.datastream.v1.PrivateConnection payload = 1;
Returns | |
---|---|
Type | Description |
PrivateConnection |
The payload. |
getPayloadBuilder()
public PrivateConnection.Builder getPayloadBuilder()
Optional. The PrivateConnection event payload. Unset for deletion events.
optional .google.events.cloud.datastream.v1.PrivateConnection payload = 1;
Returns | |
---|---|
Type | Description |
PrivateConnection.Builder |
getPayloadOrBuilder()
public PrivateConnectionOrBuilder getPayloadOrBuilder()
Optional. The PrivateConnection event payload. Unset for deletion events.
optional .google.events.cloud.datastream.v1.PrivateConnection payload = 1;
Returns | |
---|---|
Type | Description |
PrivateConnectionOrBuilder |
hasPayload()
public boolean hasPayload()
Optional. The PrivateConnection event payload. Unset for deletion events.
optional .google.events.cloud.datastream.v1.PrivateConnection 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(PrivateConnectionEventData other)
public PrivateConnectionEventData.Builder mergeFrom(PrivateConnectionEventData other)
Parameter | |
---|---|
Name | Description |
other |
PrivateConnectionEventData |
Returns | |
---|---|
Type | Description |
PrivateConnectionEventData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PrivateConnectionEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PrivateConnectionEventData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PrivateConnectionEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
PrivateConnectionEventData.Builder |
mergePayload(PrivateConnection value)
public PrivateConnectionEventData.Builder mergePayload(PrivateConnection value)
Optional. The PrivateConnection event payload. Unset for deletion events.
optional .google.events.cloud.datastream.v1.PrivateConnection payload = 1;
Parameter | |
---|---|
Name | Description |
value |
PrivateConnection |
Returns | |
---|---|
Type | Description |
PrivateConnectionEventData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivateConnectionEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PrivateConnectionEventData.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PrivateConnectionEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PrivateConnectionEventData.Builder |
setPayload(PrivateConnection value)
public PrivateConnectionEventData.Builder setPayload(PrivateConnection value)
Optional. The PrivateConnection event payload. Unset for deletion events.
optional .google.events.cloud.datastream.v1.PrivateConnection payload = 1;
Parameter | |
---|---|
Name | Description |
value |
PrivateConnection |
Returns | |
---|---|
Type | Description |
PrivateConnectionEventData.Builder |
setPayload(PrivateConnection.Builder builderForValue)
public PrivateConnectionEventData.Builder setPayload(PrivateConnection.Builder builderForValue)
Optional. The PrivateConnection event payload. Unset for deletion events.
optional .google.events.cloud.datastream.v1.PrivateConnection payload = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
PrivateConnection.Builder |
Returns | |
---|---|
Type | Description |
PrivateConnectionEventData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrivateConnectionEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
PrivateConnectionEventData.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivateConnectionEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PrivateConnectionEventData.Builder |