Class Environment.SessionStatus.Builder (1.41.0)

public static final class Environment.SessionStatus.Builder extends GeneratedMessageV3.Builder<Environment.SessionStatus.Builder> implements Environment.SessionStatusOrBuilder

Status of sessions created for this environment.

Protobuf type google.cloud.dataplex.v1.Environment.SessionStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Environment.SessionStatus build()
Returns
Type Description
Environment.SessionStatus

buildPartial()

public Environment.SessionStatus buildPartial()
Returns
Type Description
Environment.SessionStatus

clear()

public Environment.SessionStatus.Builder clear()
Returns
Type Description
Environment.SessionStatus.Builder
Overrides

clearActive()

public Environment.SessionStatus.Builder clearActive()

Output only. Queries over sessions to mark whether the environment is currently active or not

bool active = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Environment.SessionStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Environment.SessionStatus.Builder clone()
Returns
Type Description
Environment.SessionStatus.Builder
Overrides

getActive()

public boolean getActive()

Output only. Queries over sessions to mark whether the environment is currently active or not

bool active = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The active.

getDefaultInstanceForType()

public Environment.SessionStatus getDefaultInstanceForType()
Returns
Type Description
Environment.SessionStatus

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Environment.SessionStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setActive(boolean value)

public Environment.SessionStatus.Builder setActive(boolean value)

Output only. Queries over sessions to mark whether the environment is currently active or not

bool active = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The active to set.

Returns
Type Description
Environment.SessionStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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