Class Ops.FileActionMkFile.Builder

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

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

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

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

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

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

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

      public String getPath()
       path for the new file
       
      string path = 1;
      Specified by:
      getPath in interface Ops.FileActionMkFileOrBuilder
      Returns:
      The path.
    • getPathBytes

      public com.google.protobuf.ByteString getPathBytes()
       path for the new file
       
      string path = 1;
      Specified by:
      getPathBytes in interface Ops.FileActionMkFileOrBuilder
      Returns:
      The bytes for path.
    • setPath

      public Ops.FileActionMkFile.Builder setPath(String value)
       path for the new file
       
      string path = 1;
      Parameters:
      value - The path to set.
      Returns:
      This builder for chaining.
    • clearPath

      public Ops.FileActionMkFile.Builder clearPath()
       path for the new file
       
      string path = 1;
      Returns:
      This builder for chaining.
    • setPathBytes

      public Ops.FileActionMkFile.Builder setPathBytes(com.google.protobuf.ByteString value)
       path for the new file
       
      string path = 1;
      Parameters:
      value - The bytes for path to set.
      Returns:
      This builder for chaining.
    • getMode

      public int getMode()
       permission bits
       
      int32 mode = 2;
      Specified by:
      getMode in interface Ops.FileActionMkFileOrBuilder
      Returns:
      The mode.
    • setMode

      public Ops.FileActionMkFile.Builder setMode(int value)
       permission bits
       
      int32 mode = 2;
      Parameters:
      value - The mode to set.
      Returns:
      This builder for chaining.
    • clearMode

      public Ops.FileActionMkFile.Builder clearMode()
       permission bits
       
      int32 mode = 2;
      Returns:
      This builder for chaining.
    • getData

      public com.google.protobuf.ByteString getData()
       data is the new file contents
       
      bytes data = 3;
      Specified by:
      getData in interface Ops.FileActionMkFileOrBuilder
      Returns:
      The data.
    • setData

      public Ops.FileActionMkFile.Builder setData(com.google.protobuf.ByteString value)
       data is the new file contents
       
      bytes data = 3;
      Parameters:
      value - The data to set.
      Returns:
      This builder for chaining.
    • clearData

      public Ops.FileActionMkFile.Builder clearData()
       data is the new file contents
       
      bytes data = 3;
      Returns:
      This builder for chaining.
    • hasOwner

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

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

      public Ops.FileActionMkFile.Builder setOwner(Ops.ChownOpt value)
       optional owner for the new file
       
      .pb.ChownOpt owner = 4;
    • setOwner

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

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

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

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

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

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

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

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