Class Ops.FileActionSymlink.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Ops.FileActionSymlink.Builder>
com.google.protobuf.GeneratedMessage.Builder<Ops.FileActionSymlink.Builder>
pb.Ops.FileActionSymlink.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Ops.FileActionSymlinkOrBuilder
Enclosing class:
Ops.FileActionSymlink

public static final class Ops.FileActionSymlink.Builder extends com.google.protobuf.GeneratedMessage.Builder<Ops.FileActionSymlink.Builder> implements Ops.FileActionSymlinkOrBuilder
Protobuf type pb.FileActionSymlink
  • 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<Ops.FileActionSymlink.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<Ops.FileActionSymlink.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<Ops.FileActionSymlink.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Ops.FileActionSymlink.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<Ops.FileActionSymlink.Builder>
      Throws:
      IOException
    • getOldpath

      public String getOldpath()
       destination path for the new file representing the link
       
      string oldpath = 1;
      Specified by:
      getOldpath in interface Ops.FileActionSymlinkOrBuilder
      Returns:
      The oldpath.
    • getOldpathBytes

      public com.google.protobuf.ByteString getOldpathBytes()
       destination path for the new file representing the link
       
      string oldpath = 1;
      Specified by:
      getOldpathBytes in interface Ops.FileActionSymlinkOrBuilder
      Returns:
      The bytes for oldpath.
    • setOldpath

      public Ops.FileActionSymlink.Builder setOldpath(String value)
       destination path for the new file representing the link
       
      string oldpath = 1;
      Parameters:
      value - The oldpath to set.
      Returns:
      This builder for chaining.
    • clearOldpath

      public Ops.FileActionSymlink.Builder clearOldpath()
       destination path for the new file representing the link
       
      string oldpath = 1;
      Returns:
      This builder for chaining.
    • setOldpathBytes

      public Ops.FileActionSymlink.Builder setOldpathBytes(com.google.protobuf.ByteString value)
       destination path for the new file representing the link
       
      string oldpath = 1;
      Parameters:
      value - The bytes for oldpath to set.
      Returns:
      This builder for chaining.
    • getNewpath

      public String getNewpath()
       source path for the link
       
      string newpath = 2;
      Specified by:
      getNewpath in interface Ops.FileActionSymlinkOrBuilder
      Returns:
      The newpath.
    • getNewpathBytes

      public com.google.protobuf.ByteString getNewpathBytes()
       source path for the link
       
      string newpath = 2;
      Specified by:
      getNewpathBytes in interface Ops.FileActionSymlinkOrBuilder
      Returns:
      The bytes for newpath.
    • setNewpath

      public Ops.FileActionSymlink.Builder setNewpath(String value)
       source path for the link
       
      string newpath = 2;
      Parameters:
      value - The newpath to set.
      Returns:
      This builder for chaining.
    • clearNewpath

      public Ops.FileActionSymlink.Builder clearNewpath()
       source path for the link
       
      string newpath = 2;
      Returns:
      This builder for chaining.
    • setNewpathBytes

      public Ops.FileActionSymlink.Builder setNewpathBytes(com.google.protobuf.ByteString value)
       source path for the link
       
      string newpath = 2;
      Parameters:
      value - The bytes for newpath to set.
      Returns:
      This builder for chaining.
    • hasOwner

      public boolean hasOwner()
       optional owner for the new file
       
      .pb.ChownOpt owner = 3;
      Specified by:
      hasOwner in interface Ops.FileActionSymlinkOrBuilder
      Returns:
      Whether the owner field is set.
    • getOwner

      public Ops.ChownOpt getOwner()
       optional owner for the new file
       
      .pb.ChownOpt owner = 3;
      Specified by:
      getOwner in interface Ops.FileActionSymlinkOrBuilder
      Returns:
      The owner.
    • setOwner

       optional owner for the new file
       
      .pb.ChownOpt owner = 3;
    • setOwner

      public Ops.FileActionSymlink.Builder setOwner(Ops.ChownOpt.Builder builderForValue)
       optional owner for the new file
       
      .pb.ChownOpt owner = 3;
    • mergeOwner

      public Ops.FileActionSymlink.Builder mergeOwner(Ops.ChownOpt value)
       optional owner for the new file
       
      .pb.ChownOpt owner = 3;
    • clearOwner

      public Ops.FileActionSymlink.Builder clearOwner()
       optional owner for the new file
       
      .pb.ChownOpt owner = 3;
    • getOwnerBuilder

      public Ops.ChownOpt.Builder getOwnerBuilder()
       optional owner for the new file
       
      .pb.ChownOpt owner = 3;
    • getOwnerOrBuilder

      public Ops.ChownOptOrBuilder getOwnerOrBuilder()
       optional owner for the new file
       
      .pb.ChownOpt owner = 3;
      Specified by:
      getOwnerOrBuilder in interface Ops.FileActionSymlinkOrBuilder
    • getTimestamp

      public long getTimestamp()
       optional created time override
       
      int64 timestamp = 4;
      Specified by:
      getTimestamp in interface Ops.FileActionSymlinkOrBuilder
      Returns:
      The timestamp.
    • setTimestamp

      public Ops.FileActionSymlink.Builder setTimestamp(long value)
       optional created time override
       
      int64 timestamp = 4;
      Parameters:
      value - The timestamp to set.
      Returns:
      This builder for chaining.
    • clearTimestamp

      public Ops.FileActionSymlink.Builder clearTimestamp()
       optional created time override
       
      int64 timestamp = 4;
      Returns:
      This builder for chaining.