Class FetchDatabasePropertiesRequest.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

        public FetchDatabasePropertiesRequest 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FetchDatabasePropertiesRequest.Builder>
      • 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.