Class EntryLinkEvent.Builder (1.61.0)

public static final class EntryLinkEvent.Builder extends GeneratedMessageV3.Builder<EntryLinkEvent.Builder> implements EntryLinkEventOrBuilder

Payload associated with Entry related log events.

Protobuf type google.cloud.dataplex.v1.EntryLinkEvent

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EntryLinkEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EntryLinkEvent.Builder
Overrides

build()

public EntryLinkEvent build()
Returns
Type Description
EntryLinkEvent

buildPartial()

public EntryLinkEvent buildPartial()
Returns
Type Description
EntryLinkEvent

clear()

public EntryLinkEvent.Builder clear()
Returns
Type Description
EntryLinkEvent.Builder
Overrides

clearEventType()

public EntryLinkEvent.Builder clearEventType()

The type of the event.

.google.cloud.dataplex.v1.EntryLinkEvent.EventType event_type = 2;

Returns
Type Description
EntryLinkEvent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EntryLinkEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EntryLinkEvent.Builder
Overrides

clearMessage()

public EntryLinkEvent.Builder clearMessage()

The log message.

string message = 1;

Returns
Type Description
EntryLinkEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EntryLinkEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EntryLinkEvent.Builder
Overrides

clearResource()

public EntryLinkEvent.Builder clearResource()

Name of the resource.

string resource = 3;

Returns
Type Description
EntryLinkEvent.Builder

This builder for chaining.

clone()

public EntryLinkEvent.Builder clone()
Returns
Type Description
EntryLinkEvent.Builder
Overrides

getDefaultInstanceForType()

public EntryLinkEvent getDefaultInstanceForType()
Returns
Type Description
EntryLinkEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEventType()

public EntryLinkEvent.EventType getEventType()

The type of the event.

.google.cloud.dataplex.v1.EntryLinkEvent.EventType event_type = 2;

Returns
Type Description
EntryLinkEvent.EventType

The eventType.

getEventTypeValue()

public int getEventTypeValue()

The type of the event.

.google.cloud.dataplex.v1.EntryLinkEvent.EventType event_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for eventType.

getMessage()

public String getMessage()

The log message.

string message = 1;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

The log message.

string message = 1;

Returns
Type Description
ByteString

The bytes for message.

getResource()

public String getResource()

Name of the resource.

string resource = 3;

Returns
Type Description
String

The resource.

getResourceBytes()

public ByteString getResourceBytes()

Name of the resource.

string resource = 3;

Returns
Type Description
ByteString

The bytes for resource.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EntryLinkEvent other)

public EntryLinkEvent.Builder mergeFrom(EntryLinkEvent other)
Parameter
Name Description
other EntryLinkEvent
Returns
Type Description
EntryLinkEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EntryLinkEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntryLinkEvent.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EntryLinkEvent.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EntryLinkEvent.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EntryLinkEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EntryLinkEvent.Builder
Overrides

setEventType(EntryLinkEvent.EventType value)

public EntryLinkEvent.Builder setEventType(EntryLinkEvent.EventType value)

The type of the event.

.google.cloud.dataplex.v1.EntryLinkEvent.EventType event_type = 2;

Parameter
Name Description
value EntryLinkEvent.EventType

The eventType to set.

Returns
Type Description
EntryLinkEvent.Builder

This builder for chaining.

setEventTypeValue(int value)

public EntryLinkEvent.Builder setEventTypeValue(int value)

The type of the event.

.google.cloud.dataplex.v1.EntryLinkEvent.EventType event_type = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for eventType to set.

Returns
Type Description
EntryLinkEvent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EntryLinkEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EntryLinkEvent.Builder
Overrides

setMessage(String value)

public EntryLinkEvent.Builder setMessage(String value)

The log message.

string message = 1;

Parameter
Name Description
value String

The message to set.

Returns
Type Description
EntryLinkEvent.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public EntryLinkEvent.Builder setMessageBytes(ByteString value)

The log message.

string message = 1;

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
EntryLinkEvent.Builder

This builder for chaining.

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

public EntryLinkEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EntryLinkEvent.Builder
Overrides

setResource(String value)

public EntryLinkEvent.Builder setResource(String value)

Name of the resource.

string resource = 3;

Parameter
Name Description
value String

The resource to set.

Returns
Type Description
EntryLinkEvent.Builder

This builder for chaining.

setResourceBytes(ByteString value)

public EntryLinkEvent.Builder setResourceBytes(ByteString value)

Name of the resource.

string resource = 3;

Parameter
Name Description
value ByteString

The bytes for resource to set.

Returns
Type Description
EntryLinkEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final EntryLinkEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EntryLinkEvent.Builder
Overrides