- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.0.1
- 0.2.2
public static final class SessionEvent.Builder extends GeneratedMessageV3.Builder<SessionEvent.Builder> implements SessionEventOrBuilder
These 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SessionEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
build()
public SessionEvent build()
Returns | |
---|---|
Type | Description |
SessionEvent |
buildPartial()
public SessionEvent buildPartial()
Returns | |
---|---|
Type | Description |
SessionEvent |
clear()
public SessionEvent.Builder clear()
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
clearDetail()
public SessionEvent.Builder clearDetail()
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
clearEventSucceeded()
public SessionEvent.Builder clearEventSucceeded()
The status of the event.
bool event_succeeded = 6;
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
This builder for chaining. |
clearFastStartupEnabled()
public SessionEvent.Builder clearFastStartupEnabled()
If the session is associated with an environment with fast startup enabled, and was created before being assigned to a user.
bool fast_startup_enabled = 7;
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SessionEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
clearMessage()
public SessionEvent.Builder clearMessage()
The log message.
string message = 1;
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SessionEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
clearQuery()
public SessionEvent.Builder clearQuery()
The execution details of the query.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
clearSessionId()
public SessionEvent.Builder clearSessionId()
Unique identifier for the session.
string session_id = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
This builder for chaining. |
clearUnassignedDuration()
public SessionEvent.Builder clearUnassignedDuration()
The idle duration of a warm pooled session before it is assigned to user.
.google.protobuf.Duration unassigned_duration = 8;
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
clearUserId()
public SessionEvent.Builder clearUserId()
The information about the user that created the session. It will be the email address of the user.
string user_id = 2;
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
This builder for chaining. |
clone()
public SessionEvent.Builder clone()
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
getDefaultInstanceForType()
public SessionEvent getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SessionEvent |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDetailCase()
public SessionEvent.DetailCase getDetailCase()
Returns | |
---|---|
Type | Description |
SessionEvent.DetailCase |
getEventSucceeded()
public boolean getEventSucceeded()
The status of the event.
bool event_succeeded = 6;
Returns | |
---|---|
Type | Description |
boolean |
The eventSucceeded. |
getFastStartupEnabled()
public boolean getFastStartupEnabled()
If the session is associated with an environment with fast startup enabled, and was created before being assigned to a user.
bool fast_startup_enabled = 7;
Returns | |
---|---|
Type | Description |
boolean |
The fastStartupEnabled. |
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. |
getQuery()
public SessionEvent.QueryDetail getQuery()
The execution details of the query.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
SessionEvent.QueryDetail.Builder |
getQueryOrBuilder()
public SessionEvent.QueryDetailOrBuilder getQueryOrBuilder()
The execution details of the query.
.google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;
Returns | |
---|---|
Type | Description |
SessionEvent.QueryDetailOrBuilder |
getSessionId()
public String getSessionId()
Unique identifier for the session.
string session_id = 3;
Returns | |
---|---|
Type | Description |
String |
The sessionId. |
getSessionIdBytes()
public ByteString getSessionIdBytes()
Unique identifier for the session.
string session_id = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
SessionEvent.EventType |
The type. |
getTypeValue()
public int getTypeValue()
The type of the event.
.google.cloud.dataplex.v1.SessionEvent.EventType type = 4;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for type. |
getUnassignedDuration()
public Duration getUnassignedDuration()
The idle duration of a warm pooled session before it is assigned to user.
.google.protobuf.Duration unassigned_duration = 8;
Returns | |
---|---|
Type | Description |
Duration |
The unassignedDuration. |
getUnassignedDurationBuilder()
public Duration.Builder getUnassignedDurationBuilder()
The idle duration of a warm pooled session before it is assigned to user.
.google.protobuf.Duration unassigned_duration = 8;
Returns | |
---|---|
Type | Description |
Builder |
getUnassignedDurationOrBuilder()
public DurationOrBuilder getUnassignedDurationOrBuilder()
The idle duration of a warm pooled session before it is assigned to user.
.google.protobuf.Duration unassigned_duration = 8;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getUserId()
public String getUserId()
The information about the user that created the session. It will be the email address of the user.
string user_id = 2;
Returns | |
---|---|
Type | Description |
String |
The userId. |
getUserIdBytes()
public ByteString getUserIdBytes()
The information about the user that created the session. It will be the email address of the user.
string user_id = 2;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the query field is set. |
hasUnassignedDuration()
public boolean hasUnassignedDuration()
The idle duration of a warm pooled session before it is assigned to user.
.google.protobuf.Duration unassigned_duration = 8;
Returns | |
---|---|
Type | Description |
boolean |
Whether the unassignedDuration field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SessionEvent other)
public SessionEvent.Builder mergeFrom(SessionEvent other)
Parameter | |
---|---|
Name | Description |
other |
SessionEvent |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SessionEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SessionEvent.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
SessionEvent.QueryDetail |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
mergeUnassignedDuration(Duration value)
public SessionEvent.Builder mergeUnassignedDuration(Duration value)
The idle duration of a warm pooled session before it is assigned to user.
.google.protobuf.Duration unassigned_duration = 8;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SessionEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
setEventSucceeded(boolean value)
public SessionEvent.Builder setEventSucceeded(boolean value)
The status of the event.
bool event_succeeded = 6;
Parameter | |
---|---|
Name | Description |
value |
boolean The eventSucceeded to set. |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
This builder for chaining. |
setFastStartupEnabled(boolean value)
public SessionEvent.Builder setFastStartupEnabled(boolean value)
If the session is associated with an environment with fast startup enabled, and was created before being assigned to a user.
bool fast_startup_enabled = 7;
Parameter | |
---|---|
Name | Description |
value |
boolean The fastStartupEnabled to set. |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SessionEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
setMessage(String value)
public SessionEvent.Builder setMessage(String value)
The log message.
string message = 1;
Parameter | |
---|---|
Name | Description |
value |
String The message to set. |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
This builder for chaining. |
setMessageBytes(ByteString value)
public SessionEvent.Builder setMessageBytes(ByteString value)
The log message.
string message = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for message to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
SessionEvent.QueryDetail |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
SessionEvent.QueryDetail.Builder |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SessionEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
setSessionId(String value)
public SessionEvent.Builder setSessionId(String value)
Unique identifier for the session.
string session_id = 3;
Parameter | |
---|---|
Name | Description |
value |
String The sessionId to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for sessionId to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
SessionEvent.EventType The type to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for type to set. |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
This builder for chaining. |
setUnassignedDuration(Duration value)
public SessionEvent.Builder setUnassignedDuration(Duration value)
The idle duration of a warm pooled session before it is assigned to user.
.google.protobuf.Duration unassigned_duration = 8;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
setUnassignedDuration(Duration.Builder builderForValue)
public SessionEvent.Builder setUnassignedDuration(Duration.Builder builderForValue)
The idle duration of a warm pooled session before it is assigned to user.
.google.protobuf.Duration unassigned_duration = 8;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SessionEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
setUserId(String value)
public SessionEvent.Builder setUserId(String value)
The information about the user that created the session. It will be the email address of the user.
string user_id = 2;
Parameter | |
---|---|
Name | Description |
value |
String The userId to set. |
Returns | |
---|---|
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. It will be the email address of the user.
string user_id = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for userId to set. |
Returns | |
---|---|
Type | Description |
SessionEvent.Builder |
This builder for chaining. |