Class ResourceDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ResourceDetails.Builder>
com.google.cloud.databasecenter.v1beta.ResourceDetails.Builder
- All Implemented Interfaces:
ResourceDetailsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ResourceDetails
public static final class ResourceDetails.Builder
extends com.google.protobuf.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Specifies where the resource is created.Full resource name of the resource.Location of the resource.Product type of the resource.Specifies where the resource is created.com.google.protobuf.ByteStringSpecifies where the resource is created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorFull resource name of the resource.com.google.protobuf.ByteStringFull resource name of the resource.Location of the resource.com.google.protobuf.ByteStringLocation of the resource.Product type of the resource.Product type of the resource.Product type of the resource.booleanProduct type of the resource.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ResourceDetails other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeProduct(Product value) Product type of the resource.setContainer(String value) Specifies where the resource is created.setContainerBytes(com.google.protobuf.ByteString value) Specifies where the resource is created.setFullResourceName(String value) Full resource name of the resource.setFullResourceNameBytes(com.google.protobuf.ByteString value) Full resource name of the resource.setLocation(String value) Location of the resource.setLocationBytes(com.google.protobuf.ByteString value) Location of the resource.setProduct(Product value) Product type of the resource.setProduct(Product.Builder builderForValue) Product type of the resource.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ResourceDetails.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ResourceDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ResourceDetails.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceDetails.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ResourceDetails.Builder>
-
mergeFrom
public ResourceDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceDetails.Builder>- Throws:
IOException
-
getFullResourceName
Full resource name of the resource.
string full_resource_name = 1;- Specified by:
getFullResourceNamein interfaceResourceDetailsOrBuilder- Returns:
- The fullResourceName.
-
getFullResourceNameBytes
public com.google.protobuf.ByteString getFullResourceNameBytes()Full resource name of the resource.
string full_resource_name = 1;- Specified by:
getFullResourceNameBytesin interfaceResourceDetailsOrBuilder- Returns:
- The bytes for fullResourceName.
-
setFullResourceName
Full resource name of the resource.
string full_resource_name = 1;- Parameters:
value- The fullResourceName to set.- Returns:
- This builder for chaining.
-
clearFullResourceName
Full resource name of the resource.
string full_resource_name = 1;- Returns:
- This builder for chaining.
-
setFullResourceNameBytes
Full resource name of the resource.
string full_resource_name = 1;- Parameters:
value- The bytes for fullResourceName to set.- Returns:
- This builder for chaining.
-
getContainer
Specifies where the resource is created. For Google Cloud resources, it is the full name of the project.
string container = 2;- Specified by:
getContainerin interfaceResourceDetailsOrBuilder- Returns:
- The container.
-
getContainerBytes
public com.google.protobuf.ByteString getContainerBytes()Specifies where the resource is created. For Google Cloud resources, it is the full name of the project.
string container = 2;- Specified by:
getContainerBytesin interfaceResourceDetailsOrBuilder- Returns:
- The bytes for container.
-
setContainer
Specifies where the resource is created. For Google Cloud resources, it is the full name of the project.
string container = 2;- Parameters:
value- The container to set.- Returns:
- This builder for chaining.
-
clearContainer
Specifies where the resource is created. For Google Cloud resources, it is the full name of the project.
string container = 2;- Returns:
- This builder for chaining.
-
setContainerBytes
Specifies where the resource is created. For Google Cloud resources, it is the full name of the project.
string container = 2;- Parameters:
value- The bytes for container to set.- Returns:
- This builder for chaining.
-
hasProduct
public boolean hasProduct()Product type of the resource.
.google.cloud.databasecenter.v1beta.Product product = 3;- Specified by:
hasProductin interfaceResourceDetailsOrBuilder- Returns:
- Whether the product field is set.
-
getProduct
Product type of the resource.
.google.cloud.databasecenter.v1beta.Product product = 3;- Specified by:
getProductin interfaceResourceDetailsOrBuilder- Returns:
- The product.
-
setProduct
Product type of the resource.
.google.cloud.databasecenter.v1beta.Product product = 3; -
setProduct
Product type of the resource.
.google.cloud.databasecenter.v1beta.Product product = 3; -
mergeProduct
Product type of the resource.
.google.cloud.databasecenter.v1beta.Product product = 3; -
clearProduct
Product type of the resource.
.google.cloud.databasecenter.v1beta.Product product = 3; -
getProductBuilder
Product type of the resource.
.google.cloud.databasecenter.v1beta.Product product = 3; -
getProductOrBuilder
Product type of the resource.
.google.cloud.databasecenter.v1beta.Product product = 3;- Specified by:
getProductOrBuilderin interfaceResourceDetailsOrBuilder
-
getLocation
Location of the resource.
string location = 4;- Specified by:
getLocationin interfaceResourceDetailsOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()Location of the resource.
string location = 4;- Specified by:
getLocationBytesin interfaceResourceDetailsOrBuilder- Returns:
- The bytes for location.
-
setLocation
Location of the resource.
string location = 4;- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
Location of the resource.
string location = 4;- Returns:
- This builder for chaining.
-
setLocationBytes
Location of the resource.
string location = 4;- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-