public static final class SessionEvent.Builder extends GeneratedMessageV3.Builder<SessionEvent.Builder> implements SessionEventOrBuilderThese messages contain information about sessions within an environment. The monitored resource is 'Environment'.
Protobuf type google.cloud.dataplex.v1.SessionEvent
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SessionEvent.BuilderImplements
SessionEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SessionEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| SessionEvent.Builder |
build()
public SessionEvent build()| Type | Description |
| SessionEvent |
buildPartial()
public SessionEvent buildPartial()| Type | Description |
| SessionEvent |
clear()
public SessionEvent.Builder clear()| Type | Description |
| SessionEvent.Builder |
clearDetail()
public SessionEvent.Builder clearDetail()| Type | Description |
| SessionEvent.Builder |
clearField(Descriptors.FieldDescriptor field)
public SessionEvent.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| SessionEvent.Builder |
clearMessage()
public SessionEvent.Builder clearMessage()The log message.
string message = 1;
| Type | Description |
| SessionEvent.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SessionEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| SessionEvent.Builder |
clearQuery()
public SessionEvent.Builder clearQuery()The execution details of the query.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;
| Type | Description |
| SessionEvent.Builder |
clearSessionId()
public SessionEvent.Builder clearSessionId()Unique identifier for the session.
string session_id = 3;
| Type | Description |
| SessionEvent.Builder | This builder for chaining. |
clearType()
public SessionEvent.Builder clearType()The type of the event.
.google.cloud.dataplex.v1.SessionEvent.EventType type = 4;
| Type | Description |
| SessionEvent.Builder | This builder for chaining. |
clearUserId()
public SessionEvent.Builder clearUserId()The information about the user that created the session.
string user_id = 2;
| Type | Description |
| SessionEvent.Builder | This builder for chaining. |
clone()
public SessionEvent.Builder clone()| Type | Description |
| SessionEvent.Builder |
getDefaultInstanceForType()
public SessionEvent getDefaultInstanceForType()| Type | Description |
| SessionEvent |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getDetailCase()
public SessionEvent.DetailCase getDetailCase()| Type | Description |
| SessionEvent.DetailCase |
getMessage()
public String getMessage()The log message.
string message = 1;
| Type | Description |
| String | The message. |
getMessageBytes()
public ByteString getMessageBytes()The log message.
string message = 1;
| Type | Description |
| ByteString | The bytes for message. |
getQuery()
public SessionEvent.QueryDetail getQuery()The execution details of the query.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;
| Type | Description |
| SessionEvent.QueryDetail | The query. |
getQueryBuilder()
public SessionEvent.QueryDetail.Builder getQueryBuilder()The execution details of the query.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;
| Type | Description |
| SessionEvent.QueryDetail.Builder |
getQueryOrBuilder()
public SessionEvent.QueryDetailOrBuilder getQueryOrBuilder()The execution details of the query.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;
| Type | Description |
| SessionEvent.QueryDetailOrBuilder |
getSessionId()
public String getSessionId()Unique identifier for the session.
string session_id = 3;
| Type | Description |
| String | The sessionId. |
getSessionIdBytes()
public ByteString getSessionIdBytes()Unique identifier for the session.
string session_id = 3;
| Type | Description |
| ByteString | The bytes for sessionId. |
getType()
public SessionEvent.EventType getType()The type of the event.
.google.cloud.dataplex.v1.SessionEvent.EventType type = 4;
| Type | Description |
| SessionEvent.EventType | The type. |
getTypeValue()
public int getTypeValue()The type of the event.
.google.cloud.dataplex.v1.SessionEvent.EventType type = 4;
| Type | Description |
| int | The enum numeric value on the wire for type. |
getUserId()
public String getUserId()The information about the user that created the session.
string user_id = 2;
| Type | Description |
| String | The userId. |
getUserIdBytes()
public ByteString getUserIdBytes()The information about the user that created the session.
string user_id = 2;
| Type | Description |
| ByteString | The bytes for userId. |
hasQuery()
public boolean hasQuery()The execution details of the query.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;
| Type | Description |
| boolean | Whether the query field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(SessionEvent other)
public SessionEvent.Builder mergeFrom(SessionEvent other)| Name | Description |
| other | SessionEvent |
| Type | Description |
| SessionEvent.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SessionEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| SessionEvent.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public SessionEvent.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| SessionEvent.Builder |
mergeQuery(SessionEvent.QueryDetail value)
public SessionEvent.Builder mergeQuery(SessionEvent.QueryDetail value)The execution details of the query.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;
| Name | Description |
| value | SessionEvent.QueryDetail |
| Type | Description |
| SessionEvent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SessionEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| SessionEvent.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SessionEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| SessionEvent.Builder |
setMessage(String value)
public SessionEvent.Builder setMessage(String value)The log message.
string message = 1;
| Name | Description |
| value | StringThe message to set. |
| Type | Description |
| SessionEvent.Builder | This builder for chaining. |
setMessageBytes(ByteString value)
public SessionEvent.Builder setMessageBytes(ByteString value)The log message.
string message = 1;
| Name | Description |
| value | ByteStringThe bytes for message to set. |
| Type | Description |
| SessionEvent.Builder | This builder for chaining. |
setQuery(SessionEvent.QueryDetail value)
public SessionEvent.Builder setQuery(SessionEvent.QueryDetail value)The execution details of the query.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;
| Name | Description |
| value | SessionEvent.QueryDetail |
| Type | Description |
| SessionEvent.Builder |
setQuery(SessionEvent.QueryDetail.Builder builderForValue)
public SessionEvent.Builder setQuery(SessionEvent.QueryDetail.Builder builderForValue)The execution details of the query.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;
| Name | Description |
| builderForValue | SessionEvent.QueryDetail.Builder |
| Type | Description |
| SessionEvent.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SessionEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| SessionEvent.Builder |
setSessionId(String value)
public SessionEvent.Builder setSessionId(String value)Unique identifier for the session.
string session_id = 3;
| Name | Description |
| value | StringThe sessionId to set. |
| Type | Description |
| SessionEvent.Builder | This builder for chaining. |
setSessionIdBytes(ByteString value)
public SessionEvent.Builder setSessionIdBytes(ByteString value)Unique identifier for the session.
string session_id = 3;
| Name | Description |
| value | ByteStringThe bytes for sessionId to set. |
| Type | Description |
| SessionEvent.Builder | This builder for chaining. |
setType(SessionEvent.EventType value)
public SessionEvent.Builder setType(SessionEvent.EventType value)The type of the event.
.google.cloud.dataplex.v1.SessionEvent.EventType type = 4;
| Name | Description |
| value | SessionEvent.EventTypeThe type to set. |
| Type | Description |
| SessionEvent.Builder | This builder for chaining. |
setTypeValue(int value)
public SessionEvent.Builder setTypeValue(int value)The type of the event.
.google.cloud.dataplex.v1.SessionEvent.EventType type = 4;
| Name | Description |
| value | intThe enum numeric value on the wire for type to set. |
| Type | Description |
| SessionEvent.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SessionEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| SessionEvent.Builder |
setUserId(String value)
public SessionEvent.Builder setUserId(String value)The information about the user that created the session.
string user_id = 2;
| Name | Description |
| value | StringThe userId to set. |
| Type | Description |
| SessionEvent.Builder | This builder for chaining. |
setUserIdBytes(ByteString value)
public SessionEvent.Builder setUserIdBytes(ByteString value)The information about the user that created the session.
string user_id = 2;
| Name | Description |
| value | ByteStringThe bytes for userId to set. |
| Type | Description |
| SessionEvent.Builder | This builder for chaining. |