Class FetchDatabasePropertiesRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FetchDatabasePropertiesRequest.Builder>
com.google.cloud.orchestration.airflow.service.v1beta1.FetchDatabasePropertiesRequest.Builder
All Implemented Interfaces:
FetchDatabasePropertiesRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FetchDatabasePropertiesRequest

public static final class FetchDatabasePropertiesRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<FetchDatabasePropertiesRequest.Builder> implements FetchDatabasePropertiesRequestOrBuilder
 Request to fetch properties of environment's database.
 
Protobuf type google.cloud.orchestration.airflow.service.v1beta1.FetchDatabasePropertiesRequest
  • 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<FetchDatabasePropertiesRequest.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<FetchDatabasePropertiesRequest.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<FetchDatabasePropertiesRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public FetchDatabasePropertiesRequest.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<FetchDatabasePropertiesRequest.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<FetchDatabasePropertiesRequest.Builder>
    • mergeFrom

      public FetchDatabasePropertiesRequest.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<FetchDatabasePropertiesRequest.Builder>
      Throws:
      IOException
    • getEnvironment

      public String getEnvironment()
       Required. The resource name of the environment, in the form:
       "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
       
      string environment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getEnvironment in interface FetchDatabasePropertiesRequestOrBuilder
      Returns:
      The environment.
    • getEnvironmentBytes

      public com.google.protobuf.ByteString getEnvironmentBytes()
       Required. The resource name of the environment, in the form:
       "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
       
      string environment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getEnvironmentBytes in interface FetchDatabasePropertiesRequestOrBuilder
      Returns:
      The bytes for environment.
    • setEnvironment

      public FetchDatabasePropertiesRequest.Builder setEnvironment(String value)
       Required. The resource name of the environment, in the form:
       "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
       
      string environment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The environment to set.
      Returns:
      This builder for chaining.
    • clearEnvironment

      public FetchDatabasePropertiesRequest.Builder clearEnvironment()
       Required. The resource name of the environment, in the form:
       "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
       
      string environment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setEnvironmentBytes

      public FetchDatabasePropertiesRequest.Builder setEnvironmentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the environment, in the form:
       "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
       
      string environment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for environment to set.
      Returns:
      This builder for chaining.