Class AssetEnrichment.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AssetEnrichment.Builder>
com.google.cloud.asset.v1.AssetEnrichment.Builder
All Implemented Interfaces:
AssetEnrichmentOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AssetEnrichment

public static final class AssetEnrichment.Builder extends com.google.protobuf.GeneratedMessage.Builder<AssetEnrichment.Builder> implements AssetEnrichmentOrBuilder
 The enhanced metadata information for a resource.
 
Protobuf type google.cloud.asset.v1.AssetEnrichment
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AssetEnrichment.Builder>
    • clear

      public AssetEnrichment.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AssetEnrichment.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AssetEnrichment.Builder>
    • getDefaultInstanceForType

      public AssetEnrichment getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public AssetEnrichment build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AssetEnrichment buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AssetEnrichment.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AssetEnrichment.Builder>
    • mergeFrom

      public AssetEnrichment.Builder mergeFrom(AssetEnrichment other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AssetEnrichment.Builder>
    • mergeFrom

      public AssetEnrichment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AssetEnrichment.Builder>
      Throws:
      IOException
    • getEnrichmentDataCase

      public AssetEnrichment.EnrichmentDataCase getEnrichmentDataCase()
      Specified by:
      getEnrichmentDataCase in interface AssetEnrichmentOrBuilder
    • clearEnrichmentData

      public AssetEnrichment.Builder clearEnrichmentData()
    • hasResourceOwners

      public boolean hasResourceOwners()
       The resource owners for a resource.
      
       Note that this field only contains the members that have "roles/owner"
       role in the resource's IAM Policy.
       
      .google.cloud.asset.v1.ResourceOwners resource_owners = 7;
      Specified by:
      hasResourceOwners in interface AssetEnrichmentOrBuilder
      Returns:
      Whether the resourceOwners field is set.
    • getResourceOwners

      public ResourceOwners getResourceOwners()
       The resource owners for a resource.
      
       Note that this field only contains the members that have "roles/owner"
       role in the resource's IAM Policy.
       
      .google.cloud.asset.v1.ResourceOwners resource_owners = 7;
      Specified by:
      getResourceOwners in interface AssetEnrichmentOrBuilder
      Returns:
      The resourceOwners.
    • setResourceOwners

      public AssetEnrichment.Builder setResourceOwners(ResourceOwners value)
       The resource owners for a resource.
      
       Note that this field only contains the members that have "roles/owner"
       role in the resource's IAM Policy.
       
      .google.cloud.asset.v1.ResourceOwners resource_owners = 7;
    • setResourceOwners

      public AssetEnrichment.Builder setResourceOwners(ResourceOwners.Builder builderForValue)
       The resource owners for a resource.
      
       Note that this field only contains the members that have "roles/owner"
       role in the resource's IAM Policy.
       
      .google.cloud.asset.v1.ResourceOwners resource_owners = 7;
    • mergeResourceOwners

      public AssetEnrichment.Builder mergeResourceOwners(ResourceOwners value)
       The resource owners for a resource.
      
       Note that this field only contains the members that have "roles/owner"
       role in the resource's IAM Policy.
       
      .google.cloud.asset.v1.ResourceOwners resource_owners = 7;
    • clearResourceOwners

      public AssetEnrichment.Builder clearResourceOwners()
       The resource owners for a resource.
      
       Note that this field only contains the members that have "roles/owner"
       role in the resource's IAM Policy.
       
      .google.cloud.asset.v1.ResourceOwners resource_owners = 7;
    • getResourceOwnersBuilder

      public ResourceOwners.Builder getResourceOwnersBuilder()
       The resource owners for a resource.
      
       Note that this field only contains the members that have "roles/owner"
       role in the resource's IAM Policy.
       
      .google.cloud.asset.v1.ResourceOwners resource_owners = 7;
    • getResourceOwnersOrBuilder

      public ResourceOwnersOrBuilder getResourceOwnersOrBuilder()
       The resource owners for a resource.
      
       Note that this field only contains the members that have "roles/owner"
       role in the resource's IAM Policy.
       
      .google.cloud.asset.v1.ResourceOwners resource_owners = 7;
      Specified by:
      getResourceOwnersOrBuilder in interface AssetEnrichmentOrBuilder