public static final class Session.Builder extends GeneratedMessageV3.Builder<Session.Builder> implements SessionOrBuilder
Represents an active analyze session running for a user.
Protobuf type google.cloud.dataplex.v1.Session
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Session.BuilderImplements
SessionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Session.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Session.Builder |
build()
public Session build()
Type | Description |
Session |
buildPartial()
public Session buildPartial()
Type | Description |
Session |
clear()
public Session.Builder clear()
Type | Description |
Session.Builder |
clearCreateTime()
public Session.Builder clearCreateTime()
Output only. Session start time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Session.Builder |
clearField(Descriptors.FieldDescriptor field)
public Session.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Session.Builder |
clearName()
public Session.Builder clearName()
Output only. The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Type | Description |
Session.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Session.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Session.Builder |
clearState()
public Session.Builder clearState()
.google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Session.Builder | This builder for chaining. |
clearUserId()
public Session.Builder clearUserId()
Output only. Email of user running the session.
string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Session.Builder | This builder for chaining. |
clone()
public Session.Builder clone()
Type | Description |
Session.Builder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Session start time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Session start time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Session start time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Session getDefaultInstanceForType()
Type | Description |
Session |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Output only. The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
getState()
public State getState()
.google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
State | The state. |
getStateValue()
public int getStateValue()
.google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for state. |
getUserId()
public String getUserId()
Output only. Email of user running the session.
string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The userId. |
getUserIdBytes()
public ByteString getUserIdBytes()
Output only. Email of user running the session.
string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for userId. |
hasCreateTime()
public boolean hasCreateTime()
Output only. Session start time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Session.Builder mergeCreateTime(Timestamp value)
Output only. Session start time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Session.Builder |
mergeFrom(Session other)
public Session.Builder mergeFrom(Session other)
Name | Description |
other | Session |
Type | Description |
Session.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Session.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Session.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Session.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Session.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Session.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Session.Builder |
setCreateTime(Timestamp value)
public Session.Builder setCreateTime(Timestamp value)
Output only. Session start time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Session.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Session.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Session start time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Session.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Session.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Session.Builder |
setName(String value)
public Session.Builder setName(String value)
Output only. The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The name to set. |
Type | Description |
Session.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Session.Builder setNameBytes(ByteString value)
Output only. The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Session.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Session.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Session.Builder |
setState(State value)
public Session.Builder setState(State value)
.google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | State The state to set. |
Type | Description |
Session.Builder | This builder for chaining. |
setStateValue(int value)
public Session.Builder setStateValue(int value)
.google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
Session.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Session.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Session.Builder |
setUserId(String value)
public Session.Builder setUserId(String value)
Output only. Email of user running the session.
string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The userId to set. |
Type | Description |
Session.Builder | This builder for chaining. |
setUserIdBytes(ByteString value)
public Session.Builder setUserIdBytes(ByteString value)
Output only. Email of user running the session.
string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for userId to set. |
Type | Description |
Session.Builder | This builder for chaining. |