Class FlexComponent.Builder (0.52.0)

public static final class FlexComponent.Builder extends GeneratedMessage.Builder<FlexComponent.Builder> implements FlexComponentOrBuilder

Details of the Flex Component resource.

Protobuf type google.cloud.oracledatabase.v1.FlexComponent

Static Methods

getDescriptor()

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

Methods

build()

public FlexComponent build()
Returns
Type Description
FlexComponent

buildPartial()

public FlexComponent buildPartial()
Returns
Type Description
FlexComponent

clear()

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

clearName()

public FlexComponent.Builder clearName()

Identifier. Specifies the name of the Flex Component resource with the format: projects/{project}/locations/{region}/flexComponents/{flex_component}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
FlexComponent.Builder

This builder for chaining.

clearProperties()

public FlexComponent.Builder clearProperties()

Output only. The properties of the Flex Component.

.google.cloud.oracledatabase.v1.FlexComponentProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FlexComponent.Builder

getDefaultInstanceForType()

public FlexComponent getDefaultInstanceForType()
Returns
Type Description
FlexComponent

getDescriptorForType()

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

getName()

public String getName()

Identifier. Specifies the name of the Flex Component resource with the format: projects/{project}/locations/{region}/flexComponents/{flex_component}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. Specifies the name of the Flex Component resource with the format: projects/{project}/locations/{region}/flexComponents/{flex_component}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getProperties()

public FlexComponentProperties getProperties()

Output only. The properties of the Flex Component.

.google.cloud.oracledatabase.v1.FlexComponentProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FlexComponentProperties

The properties.

getPropertiesBuilder()

public FlexComponentProperties.Builder getPropertiesBuilder()

Output only. The properties of the Flex Component.

.google.cloud.oracledatabase.v1.FlexComponentProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FlexComponentProperties.Builder

getPropertiesOrBuilder()

public FlexComponentPropertiesOrBuilder getPropertiesOrBuilder()

Output only. The properties of the Flex Component.

.google.cloud.oracledatabase.v1.FlexComponentProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FlexComponentPropertiesOrBuilder

hasProperties()

public boolean hasProperties()

Output only. The properties of the Flex Component.

.google.cloud.oracledatabase.v1.FlexComponentProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the properties field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FlexComponent other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProperties(FlexComponentProperties value)

public FlexComponent.Builder mergeProperties(FlexComponentProperties value)

Output only. The properties of the Flex Component.

.google.cloud.oracledatabase.v1.FlexComponentProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FlexComponentProperties
Returns
Type Description
FlexComponent.Builder

setName(String value)

public FlexComponent.Builder setName(String value)

Identifier. Specifies the name of the Flex Component resource with the format: projects/{project}/locations/{region}/flexComponents/{flex_component}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
FlexComponent.Builder

This builder for chaining.

setNameBytes(ByteString value)

public FlexComponent.Builder setNameBytes(ByteString value)

Identifier. Specifies the name of the Flex Component resource with the format: projects/{project}/locations/{region}/flexComponents/{flex_component}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
FlexComponent.Builder

This builder for chaining.

setProperties(FlexComponentProperties value)

public FlexComponent.Builder setProperties(FlexComponentProperties value)

Output only. The properties of the Flex Component.

.google.cloud.oracledatabase.v1.FlexComponentProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FlexComponentProperties
Returns
Type Description
FlexComponent.Builder

setProperties(FlexComponentProperties.Builder builderForValue)

public FlexComponent.Builder setProperties(FlexComponentProperties.Builder builderForValue)

Output only. The properties of the Flex Component.

.google.cloud.oracledatabase.v1.FlexComponentProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue FlexComponentProperties.Builder
Returns
Type Description
FlexComponent.Builder