Class Lake.MetastoreStatus.Builder (1.3.0)

public static final class Lake.MetastoreStatus.Builder extends GeneratedMessageV3.Builder<Lake.MetastoreStatus.Builder> implements Lake.MetastoreStatusOrBuilder

Status of Lake and Dataproc Metastore service instance association.

Protobuf type google.cloud.dataplex.v1.Lake.MetastoreStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Lake.MetastoreStatus build()
Returns
TypeDescription
Lake.MetastoreStatus

buildPartial()

public Lake.MetastoreStatus buildPartial()
Returns
TypeDescription
Lake.MetastoreStatus

clear()

public Lake.MetastoreStatus.Builder clear()
Returns
TypeDescription
Lake.MetastoreStatus.Builder
Overrides

clearEndpoint()

public Lake.MetastoreStatus.Builder clearEndpoint()

The URI of the endpoint used to access the Metastore service.

string endpoint = 4;

Returns
TypeDescription
Lake.MetastoreStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Lake.MetastoreStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Lake.MetastoreStatus.Builder
Overrides

clearMessage()

public Lake.MetastoreStatus.Builder clearMessage()

Additional information about the current status.

string message = 2;

Returns
TypeDescription
Lake.MetastoreStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Lake.MetastoreStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Lake.MetastoreStatus.Builder
Overrides

clearState()

public Lake.MetastoreStatus.Builder clearState()

Current state of association.

.google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1;

Returns
TypeDescription
Lake.MetastoreStatus.Builder

This builder for chaining.

clearUpdateTime()

public Lake.MetastoreStatus.Builder clearUpdateTime()

Last update time of the metastore status of the lake.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Lake.MetastoreStatus.Builder

clone()

public Lake.MetastoreStatus.Builder clone()
Returns
TypeDescription
Lake.MetastoreStatus.Builder
Overrides

getDefaultInstanceForType()

public Lake.MetastoreStatus getDefaultInstanceForType()
Returns
TypeDescription
Lake.MetastoreStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndpoint()

public String getEndpoint()

The URI of the endpoint used to access the Metastore service.

string endpoint = 4;

Returns
TypeDescription
String

The endpoint.

getEndpointBytes()

public ByteString getEndpointBytes()

The URI of the endpoint used to access the Metastore service.

string endpoint = 4;

Returns
TypeDescription
ByteString

The bytes for endpoint.

getMessage()

public String getMessage()

Additional information about the current status.

string message = 2;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Additional information about the current status.

string message = 2;

Returns
TypeDescription
ByteString

The bytes for message.

getState()

public Lake.MetastoreStatus.State getState()

Current state of association.

.google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1;

Returns
TypeDescription
Lake.MetastoreStatus.State

The state.

getStateValue()

public int getStateValue()

Current state of association.

.google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUpdateTime()

public Timestamp getUpdateTime()

Last update time of the metastore status of the lake.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Last update time of the metastore status of the lake.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Last update time of the metastore status of the lake.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
TimestampOrBuilder

hasUpdateTime()

public boolean hasUpdateTime()

Last update time of the metastore status of the lake.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Lake.MetastoreStatus other)

public Lake.MetastoreStatus.Builder mergeFrom(Lake.MetastoreStatus other)
Parameter
NameDescription
otherLake.MetastoreStatus
Returns
TypeDescription
Lake.MetastoreStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Lake.MetastoreStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Lake.MetastoreStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Lake.MetastoreStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Lake.MetastoreStatus.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Lake.MetastoreStatus.Builder mergeUpdateTime(Timestamp value)

Last update time of the metastore status of the lake.

.google.protobuf.Timestamp update_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Lake.MetastoreStatus.Builder

setEndpoint(String value)

public Lake.MetastoreStatus.Builder setEndpoint(String value)

The URI of the endpoint used to access the Metastore service.

string endpoint = 4;

Parameter
NameDescription
valueString

The endpoint to set.

Returns
TypeDescription
Lake.MetastoreStatus.Builder

This builder for chaining.

setEndpointBytes(ByteString value)

public Lake.MetastoreStatus.Builder setEndpointBytes(ByteString value)

The URI of the endpoint used to access the Metastore service.

string endpoint = 4;

Parameter
NameDescription
valueByteString

The bytes for endpoint to set.

Returns
TypeDescription
Lake.MetastoreStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Lake.MetastoreStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Lake.MetastoreStatus.Builder
Overrides

setMessage(String value)

public Lake.MetastoreStatus.Builder setMessage(String value)

Additional information about the current status.

string message = 2;

Parameter
NameDescription
valueString

The message to set.

Returns
TypeDescription
Lake.MetastoreStatus.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public Lake.MetastoreStatus.Builder setMessageBytes(ByteString value)

Additional information about the current status.

string message = 2;

Parameter
NameDescription
valueByteString

The bytes for message to set.

Returns
TypeDescription
Lake.MetastoreStatus.Builder

This builder for chaining.

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

public Lake.MetastoreStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Lake.MetastoreStatus.Builder
Overrides

setState(Lake.MetastoreStatus.State value)

public Lake.MetastoreStatus.Builder setState(Lake.MetastoreStatus.State value)

Current state of association.

.google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1;

Parameter
NameDescription
valueLake.MetastoreStatus.State

The state to set.

Returns
TypeDescription
Lake.MetastoreStatus.Builder

This builder for chaining.

setStateValue(int value)

public Lake.MetastoreStatus.Builder setStateValue(int value)

Current state of association.

.google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1;

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
Lake.MetastoreStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Lake.MetastoreStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Lake.MetastoreStatus.Builder
Overrides

setUpdateTime(Timestamp value)

public Lake.MetastoreStatus.Builder setUpdateTime(Timestamp value)

Last update time of the metastore status of the lake.

.google.protobuf.Timestamp update_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Lake.MetastoreStatus.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Lake.MetastoreStatus.Builder setUpdateTime(Timestamp.Builder builderForValue)

Last update time of the metastore status of the lake.

.google.protobuf.Timestamp update_time = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Lake.MetastoreStatus.Builder