Class Lake.MetastoreStatus.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Lake.MetastoreStatus.Builder>
com.google.cloud.dataplex.v1.Lake.MetastoreStatus.Builder
All Implemented Interfaces:
Lake.MetastoreStatusOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Lake.MetastoreStatus

public static final class Lake.MetastoreStatus.Builder extends com.google.protobuf.GeneratedMessage.Builder<Lake.MetastoreStatus.Builder> implements Lake.MetastoreStatusOrBuilder
 Status of Lake and Dataproc Metastore service instance association.
 
Protobuf type google.cloud.dataplex.v1.Lake.MetastoreStatus
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Lake.MetastoreStatus.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Lake.MetastoreStatus.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Lake.MetastoreStatus.Builder>
    • getDefaultInstanceForType

      public Lake.MetastoreStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Lake.MetastoreStatus build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Lake.MetastoreStatus buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Lake.MetastoreStatus.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Lake.MetastoreStatus.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Lake.MetastoreStatus.Builder>
    • mergeFrom

      public Lake.MetastoreStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Lake.MetastoreStatus.Builder>
      Throws:
      IOException
    • getStateValue

      public int getStateValue()
       Current state of association.
       
      .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1;
      Specified by:
      getStateValue in interface Lake.MetastoreStatusOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public Lake.MetastoreStatus.Builder setStateValue(int value)
       Current state of association.
       
      .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1;
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public Lake.MetastoreStatus.State getState()
       Current state of association.
       
      .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1;
      Specified by:
      getState in interface Lake.MetastoreStatusOrBuilder
      Returns:
      The state.
    • setState

       Current state of association.
       
      .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public Lake.MetastoreStatus.Builder clearState()
       Current state of association.
       
      .google.cloud.dataplex.v1.Lake.MetastoreStatus.State state = 1;
      Returns:
      This builder for chaining.
    • getMessage

      public String getMessage()
       Additional information about the current status.
       
      string message = 2;
      Specified by:
      getMessage in interface Lake.MetastoreStatusOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       Additional information about the current status.
       
      string message = 2;
      Specified by:
      getMessageBytes in interface Lake.MetastoreStatusOrBuilder
      Returns:
      The bytes for message.
    • setMessage

      public Lake.MetastoreStatus.Builder setMessage(String value)
       Additional information about the current status.
       
      string message = 2;
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public Lake.MetastoreStatus.Builder clearMessage()
       Additional information about the current status.
       
      string message = 2;
      Returns:
      This builder for chaining.
    • setMessageBytes

      public Lake.MetastoreStatus.Builder setMessageBytes(com.google.protobuf.ByteString value)
       Additional information about the current status.
       
      string message = 2;
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • hasUpdateTime

      public boolean hasUpdateTime()
       Last update time of the metastore status of the lake.
       
      .google.protobuf.Timestamp update_time = 3;
      Specified by:
      hasUpdateTime in interface Lake.MetastoreStatusOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Last update time of the metastore status of the lake.
       
      .google.protobuf.Timestamp update_time = 3;
      Specified by:
      getUpdateTime in interface Lake.MetastoreStatusOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Lake.MetastoreStatus.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Last update time of the metastore status of the lake.
       
      .google.protobuf.Timestamp update_time = 3;
    • setUpdateTime

      public Lake.MetastoreStatus.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Last update time of the metastore status of the lake.
       
      .google.protobuf.Timestamp update_time = 3;
    • mergeUpdateTime

      public Lake.MetastoreStatus.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Last update time of the metastore status of the lake.
       
      .google.protobuf.Timestamp update_time = 3;
    • clearUpdateTime

      public Lake.MetastoreStatus.Builder clearUpdateTime()
       Last update time of the metastore status of the lake.
       
      .google.protobuf.Timestamp update_time = 3;
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Last update time of the metastore status of the lake.
       
      .google.protobuf.Timestamp update_time = 3;
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Last update time of the metastore status of the lake.
       
      .google.protobuf.Timestamp update_time = 3;
      Specified by:
      getUpdateTimeOrBuilder in interface Lake.MetastoreStatusOrBuilder
    • getEndpoint

      public String getEndpoint()
       The URI of the endpoint used to access the Metastore service.
       
      string endpoint = 4;
      Specified by:
      getEndpoint in interface Lake.MetastoreStatusOrBuilder
      Returns:
      The endpoint.
    • getEndpointBytes

      public com.google.protobuf.ByteString getEndpointBytes()
       The URI of the endpoint used to access the Metastore service.
       
      string endpoint = 4;
      Specified by:
      getEndpointBytes in interface Lake.MetastoreStatusOrBuilder
      Returns:
      The bytes for endpoint.
    • setEndpoint

      public Lake.MetastoreStatus.Builder setEndpoint(String value)
       The URI of the endpoint used to access the Metastore service.
       
      string endpoint = 4;
      Parameters:
      value - The endpoint to set.
      Returns:
      This builder for chaining.
    • clearEndpoint

      public Lake.MetastoreStatus.Builder clearEndpoint()
       The URI of the endpoint used to access the Metastore service.
       
      string endpoint = 4;
      Returns:
      This builder for chaining.
    • setEndpointBytes

      public Lake.MetastoreStatus.Builder setEndpointBytes(com.google.protobuf.ByteString value)
       The URI of the endpoint used to access the Metastore service.
       
      string endpoint = 4;
      Parameters:
      value - The bytes for endpoint to set.
      Returns:
      This builder for chaining.