Class FetchDatabasePropertiesRequest.Builder (1.27.0)

public static final class FetchDatabasePropertiesRequest.Builder extends GeneratedMessageV3.Builder<FetchDatabasePropertiesRequest.Builder> implements FetchDatabasePropertiesRequestOrBuilder

Request to fetch properties of environment's database.

Protobuf type google.cloud.orchestration.airflow.service.v1.FetchDatabasePropertiesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FetchDatabasePropertiesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchDatabasePropertiesRequest.Builder
Overrides

build()

public FetchDatabasePropertiesRequest build()
Returns
Type Description
FetchDatabasePropertiesRequest

buildPartial()

public FetchDatabasePropertiesRequest buildPartial()
Returns
Type Description
FetchDatabasePropertiesRequest

clear()

public FetchDatabasePropertiesRequest.Builder clear()
Returns
Type Description
FetchDatabasePropertiesRequest.Builder
Overrides

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
Type Description
FetchDatabasePropertiesRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FetchDatabasePropertiesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FetchDatabasePropertiesRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchDatabasePropertiesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FetchDatabasePropertiesRequest.Builder
Overrides

clone()

public FetchDatabasePropertiesRequest.Builder clone()
Returns
Type Description
FetchDatabasePropertiesRequest.Builder
Overrides

getDefaultInstanceForType()

public FetchDatabasePropertiesRequest getDefaultInstanceForType()
Returns
Type Description
FetchDatabasePropertiesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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) = { ... }

Returns
Type Description
String

The environment.

getEnvironmentBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for environment.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchDatabasePropertiesRequest other)

public FetchDatabasePropertiesRequest.Builder mergeFrom(FetchDatabasePropertiesRequest other)
Parameter
Name Description
other FetchDatabasePropertiesRequest
Returns
Type Description
FetchDatabasePropertiesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FetchDatabasePropertiesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchDatabasePropertiesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FetchDatabasePropertiesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FetchDatabasePropertiesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchDatabasePropertiesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchDatabasePropertiesRequest.Builder
Overrides

setEnvironment(String value)

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) = { ... }

Parameter
Name Description
value String

The environment to set.

Returns
Type Description
FetchDatabasePropertiesRequest.Builder

This builder for chaining.

setEnvironmentBytes(ByteString value)

public FetchDatabasePropertiesRequest.Builder setEnvironmentBytes(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) = { ... }

Parameter
Name Description
value ByteString

The bytes for environment to set.

Returns
Type Description
FetchDatabasePropertiesRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FetchDatabasePropertiesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchDatabasePropertiesRequest.Builder
Overrides

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

public FetchDatabasePropertiesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FetchDatabasePropertiesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FetchDatabasePropertiesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchDatabasePropertiesRequest.Builder
Overrides