Class MoveFolderMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MoveFolderMetadata.Builder>
com.google.cloud.resourcemanager.v3.MoveFolderMetadata.Builder
All Implemented Interfaces:
MoveFolderMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MoveFolderMetadata

public static final class MoveFolderMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<MoveFolderMetadata.Builder> implements MoveFolderMetadataOrBuilder
 Metadata pertaining to the folder move process.
 
Protobuf type google.cloud.resourcemanager.v3.MoveFolderMetadata
  • 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<MoveFolderMetadata.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<MoveFolderMetadata.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<MoveFolderMetadata.Builder>
    • getDefaultInstanceForType

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

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

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

      public MoveFolderMetadata.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<MoveFolderMetadata.Builder>
    • mergeFrom

    • isInitialized

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

      public MoveFolderMetadata.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<MoveFolderMetadata.Builder>
      Throws:
      IOException
    • getDisplayName

      public String getDisplayName()
       The display name of the folder.
       
      string display_name = 1;
      Specified by:
      getDisplayName in interface MoveFolderMetadataOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       The display name of the folder.
       
      string display_name = 1;
      Specified by:
      getDisplayNameBytes in interface MoveFolderMetadataOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public MoveFolderMetadata.Builder setDisplayName(String value)
       The display name of the folder.
       
      string display_name = 1;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public MoveFolderMetadata.Builder clearDisplayName()
       The display name of the folder.
       
      string display_name = 1;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public MoveFolderMetadata.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       The display name of the folder.
       
      string display_name = 1;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getSourceParent

      public String getSourceParent()
       The resource name of the folder's parent.
       
      string source_parent = 2;
      Specified by:
      getSourceParent in interface MoveFolderMetadataOrBuilder
      Returns:
      The sourceParent.
    • getSourceParentBytes

      public com.google.protobuf.ByteString getSourceParentBytes()
       The resource name of the folder's parent.
       
      string source_parent = 2;
      Specified by:
      getSourceParentBytes in interface MoveFolderMetadataOrBuilder
      Returns:
      The bytes for sourceParent.
    • setSourceParent

      public MoveFolderMetadata.Builder setSourceParent(String value)
       The resource name of the folder's parent.
       
      string source_parent = 2;
      Parameters:
      value - The sourceParent to set.
      Returns:
      This builder for chaining.
    • clearSourceParent

      public MoveFolderMetadata.Builder clearSourceParent()
       The resource name of the folder's parent.
       
      string source_parent = 2;
      Returns:
      This builder for chaining.
    • setSourceParentBytes

      public MoveFolderMetadata.Builder setSourceParentBytes(com.google.protobuf.ByteString value)
       The resource name of the folder's parent.
       
      string source_parent = 2;
      Parameters:
      value - The bytes for sourceParent to set.
      Returns:
      This builder for chaining.
    • getDestinationParent

      public String getDestinationParent()
       The resource name of the folder or organization to move the folder to.
       
      string destination_parent = 3;
      Specified by:
      getDestinationParent in interface MoveFolderMetadataOrBuilder
      Returns:
      The destinationParent.
    • getDestinationParentBytes

      public com.google.protobuf.ByteString getDestinationParentBytes()
       The resource name of the folder or organization to move the folder to.
       
      string destination_parent = 3;
      Specified by:
      getDestinationParentBytes in interface MoveFolderMetadataOrBuilder
      Returns:
      The bytes for destinationParent.
    • setDestinationParent

      public MoveFolderMetadata.Builder setDestinationParent(String value)
       The resource name of the folder or organization to move the folder to.
       
      string destination_parent = 3;
      Parameters:
      value - The destinationParent to set.
      Returns:
      This builder for chaining.
    • clearDestinationParent

      public MoveFolderMetadata.Builder clearDestinationParent()
       The resource name of the folder or organization to move the folder to.
       
      string destination_parent = 3;
      Returns:
      This builder for chaining.
    • setDestinationParentBytes

      public MoveFolderMetadata.Builder setDestinationParentBytes(com.google.protobuf.ByteString value)
       The resource name of the folder or organization to move the folder to.
       
      string destination_parent = 3;
      Parameters:
      value - The bytes for destinationParent to set.
      Returns:
      This builder for chaining.