Class Environment.SessionStatus.Builder (1.2.0)

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

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Environment.SessionStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Environment.SessionStatus.Builder
Overrides

build()

public Environment.SessionStatus build()
Returns
TypeDescription
Environment.SessionStatus

buildPartial()

public Environment.SessionStatus buildPartial()
Returns
TypeDescription
Environment.SessionStatus

clear()

public Environment.SessionStatus.Builder clear()
Returns
TypeDescription
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
TypeDescription
Environment.SessionStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Environment.SessionStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Environment.SessionStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Environment.SessionStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Environment.SessionStatus.Builder
Overrides

clone()

public Environment.SessionStatus.Builder clone()
Returns
TypeDescription
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
TypeDescription
boolean

The active.

getDefaultInstanceForType()

public Environment.SessionStatus getDefaultInstanceForType()
Returns
TypeDescription
Environment.SessionStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Environment.SessionStatus other)

public Environment.SessionStatus.Builder mergeFrom(Environment.SessionStatus other)
Parameter
NameDescription
otherEnvironment.SessionStatus
Returns
TypeDescription
Environment.SessionStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Environment.SessionStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Environment.SessionStatus.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Environment.SessionStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Environment.SessionStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Environment.SessionStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The active to set.

Returns
TypeDescription
Environment.SessionStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Environment.SessionStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Environment.SessionStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Environment.SessionStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Environment.SessionStatus.Builder
Overrides