Class Ops.CacheOpt.Builder

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

public static final class Ops.CacheOpt.Builder extends com.google.protobuf.GeneratedMessage.Builder<Ops.CacheOpt.Builder> implements Ops.CacheOptOrBuilder
 CacheOpt defines options specific to cache mounts
 
Protobuf type pb.CacheOpt
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    ID is an optional namespace for the mount
    Sharing is the sharing mode for the mount
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    ID is an optional namespace for the mount
    com.google.protobuf.ByteString
    ID is an optional namespace for the mount
    Sharing is the sharing mode for the mount
    int
    Sharing is the sharing mode for the mount
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    setID(String value)
    ID is an optional namespace for the mount
    setIDBytes(com.google.protobuf.ByteString value)
    ID is an optional namespace for the mount
    Sharing is the sharing mode for the mount
    setSharingValue(int value)
    Sharing is the sharing mode for the mount

    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, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Ops.CacheOpt.Builder>
    • clear

      public Ops.CacheOpt.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.CacheOpt.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.CacheOpt.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Ops.CacheOpt.Builder mergeFrom(Ops.CacheOpt other)
    • isInitialized

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

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

      public String getID()
       ID is an optional namespace for the mount
       
      string ID = 1;
      Specified by:
      getID in interface Ops.CacheOptOrBuilder
      Returns:
      The iD.
    • getIDBytes

      public com.google.protobuf.ByteString getIDBytes()
       ID is an optional namespace for the mount
       
      string ID = 1;
      Specified by:
      getIDBytes in interface Ops.CacheOptOrBuilder
      Returns:
      The bytes for iD.
    • setID

      public Ops.CacheOpt.Builder setID(String value)
       ID is an optional namespace for the mount
       
      string ID = 1;
      Parameters:
      value - The iD to set.
      Returns:
      This builder for chaining.
    • clearID

      public Ops.CacheOpt.Builder clearID()
       ID is an optional namespace for the mount
       
      string ID = 1;
      Returns:
      This builder for chaining.
    • setIDBytes

      public Ops.CacheOpt.Builder setIDBytes(com.google.protobuf.ByteString value)
       ID is an optional namespace for the mount
       
      string ID = 1;
      Parameters:
      value - The bytes for iD to set.
      Returns:
      This builder for chaining.
    • getSharingValue

      public int getSharingValue()
       Sharing is the sharing mode for the mount
       
      .pb.CacheSharingOpt sharing = 2;
      Specified by:
      getSharingValue in interface Ops.CacheOptOrBuilder
      Returns:
      The enum numeric value on the wire for sharing.
    • setSharingValue

      public Ops.CacheOpt.Builder setSharingValue(int value)
       Sharing is the sharing mode for the mount
       
      .pb.CacheSharingOpt sharing = 2;
      Parameters:
      value - The enum numeric value on the wire for sharing to set.
      Returns:
      This builder for chaining.
    • getSharing

      public Ops.CacheSharingOpt getSharing()
       Sharing is the sharing mode for the mount
       
      .pb.CacheSharingOpt sharing = 2;
      Specified by:
      getSharing in interface Ops.CacheOptOrBuilder
      Returns:
      The sharing.
    • setSharing

      public Ops.CacheOpt.Builder setSharing(Ops.CacheSharingOpt value)
       Sharing is the sharing mode for the mount
       
      .pb.CacheSharingOpt sharing = 2;
      Parameters:
      value - The sharing to set.
      Returns:
      This builder for chaining.
    • clearSharing

      public Ops.CacheOpt.Builder clearSharing()
       Sharing is the sharing mode for the mount
       
      .pb.CacheSharingOpt sharing = 2;
      Returns:
      This builder for chaining.