public static final class ResourceDetails.Builder extends GeneratedMessageV3.Builder<ResourceDetails.Builder> implements ResourceDetailsOrBuilderCapture the resource details for resources that are included in the delta counts.
Protobuf type google.cloud.databasecenter.v1beta.ResourceDetails
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResourceDetails.BuilderImplements
ResourceDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ResourceDetails.Builder |
|
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 |
|
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. |
clearField(Descriptors.FieldDescriptor field)
public ResourceDetails.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ResourceDetails.Builder |
|
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ResourceDetails.Builder |
|
clearProduct()
public ResourceDetails.Builder clearProduct()Product type of the resource.
.google.cloud.databasecenter.v1beta.Product product = 3;
| Returns | |
|---|---|
| Type | Description |
ResourceDetails.Builder |
|
clone()
public ResourceDetails.Builder clone()| 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 |
|
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ResourceDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ResourceDetails.Builder |
|
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 |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| 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 |
StringThe 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 |
ByteStringThe bytes for container to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceDetails.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ResourceDetails.Builder |
|
setFullResourceName(String value)
public ResourceDetails.Builder setFullResourceName(String value)Full resource name of the resource.
string full_resource_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ResourceDetails.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ResourceDetails.Builder |
|