Class ResourceDetails.Builder (0.6.0)

public static final class ResourceDetails.Builder extends GeneratedMessage.Builder<ResourceDetails.Builder> implements ResourceDetailsOrBuilder

Capture the resource details for resources that are included in the delta counts.

Protobuf type google.cloud.databasecenter.v1beta.ResourceDetails

Static Methods

getDescriptor()

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

Methods

build()

public ResourceDetails build()
Returns
Type Description
ResourceDetails

buildPartial()

public ResourceDetails buildPartial()
Returns
Type Description
ResourceDetails

clear()

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

clearContainer()

public ResourceDetails.Builder clearContainer()

Specifies where the resource is created. For GCP, it is the full name of the project.

string container = 2;

Returns
Type Description
ResourceDetails.Builder

This builder for chaining.

clearFullResourceName()

public ResourceDetails.Builder clearFullResourceName()

Full resource name of the resource.

string full_resource_name = 1;

Returns
Type Description
ResourceDetails.Builder

This builder for chaining.

clearLocation()

public ResourceDetails.Builder clearLocation()

Location of the resource.

string location = 4;

Returns
Type Description
ResourceDetails.Builder

This builder for chaining.

clearProduct()

public ResourceDetails.Builder clearProduct()

Product type of the resource.

.google.cloud.databasecenter.v1beta.Product product = 3;

Returns
Type Description
ResourceDetails.Builder

getContainer()

public String getContainer()

Specifies where the resource is created. For GCP, it is the full name of the project.

string container = 2;

Returns
Type Description
String

The container.

getContainerBytes()

public ByteString getContainerBytes()

Specifies where the resource is created. For GCP, it is the full name of the project.

string container = 2;

Returns
Type Description
ByteString

The bytes for container.

getDefaultInstanceForType()

public ResourceDetails getDefaultInstanceForType()
Returns
Type Description
ResourceDetails

getDescriptorForType()

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

getFullResourceName()

public String getFullResourceName()

Full resource name of the resource.

string full_resource_name = 1;

Returns
Type Description
String

The fullResourceName.

getFullResourceNameBytes()

public ByteString getFullResourceNameBytes()

Full resource name of the resource.

string full_resource_name = 1;

Returns
Type Description
ByteString

The bytes for fullResourceName.

getLocation()

public String getLocation()

Location of the resource.

string location = 4;

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Location of the resource.

string location = 4;

Returns
Type Description
ByteString

The bytes for location.

getProduct()

public Product getProduct()

Product type of the resource.

.google.cloud.databasecenter.v1beta.Product product = 3;

Returns
Type Description
Product

The product.

getProductBuilder()

public Product.Builder getProductBuilder()

Product type of the resource.

.google.cloud.databasecenter.v1beta.Product product = 3;

Returns
Type Description
Product.Builder

getProductOrBuilder()

public ProductOrBuilder getProductOrBuilder()

Product type of the resource.

.google.cloud.databasecenter.v1beta.Product product = 3;

Returns
Type Description
ProductOrBuilder

hasProduct()

public boolean hasProduct()

Product type of the resource.

.google.cloud.databasecenter.v1beta.Product product = 3;

Returns
Type Description
boolean

Whether the product field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResourceDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProduct(Product value)

public ResourceDetails.Builder mergeProduct(Product value)

Product type of the resource.

.google.cloud.databasecenter.v1beta.Product product = 3;

Parameter
Name Description
value Product
Returns
Type Description
ResourceDetails.Builder

setContainer(String value)

public ResourceDetails.Builder setContainer(String value)

Specifies where the resource is created. For GCP, it is the full name of the project.

string container = 2;

Parameter
Name Description
value String

The container to set.

Returns
Type Description
ResourceDetails.Builder

This builder for chaining.

setContainerBytes(ByteString value)

public ResourceDetails.Builder setContainerBytes(ByteString value)

Specifies where the resource is created. For GCP, it is the full name of the project.

string container = 2;

Parameter
Name Description
value ByteString

The bytes for container to set.

Returns
Type Description
ResourceDetails.Builder

This builder for chaining.

setFullResourceName(String value)

public ResourceDetails.Builder setFullResourceName(String value)

Full resource name of the resource.

string full_resource_name = 1;

Parameter
Name Description
value String

The fullResourceName to set.

Returns
Type Description
ResourceDetails.Builder

This builder for chaining.

setFullResourceNameBytes(ByteString value)

public ResourceDetails.Builder setFullResourceNameBytes(ByteString value)

Full resource name of the resource.

string full_resource_name = 1;

Parameter
Name Description
value ByteString

The bytes for fullResourceName to set.

Returns
Type Description
ResourceDetails.Builder

This builder for chaining.

setLocation(String value)

public ResourceDetails.Builder setLocation(String value)

Location of the resource.

string location = 4;

Parameter
Name Description
value String

The location to set.

Returns
Type Description
ResourceDetails.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public ResourceDetails.Builder setLocationBytes(ByteString value)

Location of the resource.

string location = 4;

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
ResourceDetails.Builder

This builder for chaining.

setProduct(Product value)

public ResourceDetails.Builder setProduct(Product value)

Product type of the resource.

.google.cloud.databasecenter.v1beta.Product product = 3;

Parameter
Name Description
value Product
Returns
Type Description
ResourceDetails.Builder

setProduct(Product.Builder builderForValue)

public ResourceDetails.Builder setProduct(Product.Builder builderForValue)

Product type of the resource.

.google.cloud.databasecenter.v1beta.Product product = 3;

Parameter
Name Description
builderForValue Product.Builder
Returns
Type Description
ResourceDetails.Builder