Class ObjectInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ObjectInfo.Builder>
org.yamcs.protobuf.ObjectInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ObjectInfoOrBuilder
Enclosing class:
ObjectInfo

public static final class ObjectInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ObjectInfo.Builder> implements ObjectInfoOrBuilder
Protobuf type yamcs.protobuf.buckets.ObjectInfo
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ObjectInfo.Builder>
    • internalGetMutableMapField

      protected com.google.protobuf.MapField internalGetMutableMapField(int number)
      Overrides:
      internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ObjectInfo.Builder>
    • internalGetFieldAccessorTable

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

      public ObjectInfo.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.GeneratedMessageV3.Builder<ObjectInfo.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.GeneratedMessageV3.Builder<ObjectInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      public ObjectInfo.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ObjectInfo.Builder>
    • setField

      public ObjectInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ObjectInfo.Builder>
    • clearField

      public ObjectInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ObjectInfo.Builder>
    • clearOneof

      public ObjectInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ObjectInfo.Builder>
    • setRepeatedField

      public ObjectInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ObjectInfo.Builder>
    • addRepeatedField

      public ObjectInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ObjectInfo.Builder>
    • mergeFrom

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

      public ObjectInfo.Builder mergeFrom(ObjectInfo other)
    • isInitialized

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

      public ObjectInfo.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<ObjectInfo.Builder>
      Throws:
      IOException
    • hasName

      public boolean hasName()
       Object name
       
      optional string name = 1;
      Specified by:
      hasName in interface ObjectInfoOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Object name
       
      optional string name = 1;
      Specified by:
      getName in interface ObjectInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Object name
       
      optional string name = 1;
      Specified by:
      getNameBytes in interface ObjectInfoOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ObjectInfo.Builder setName(String value)
       Object name
       
      optional string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ObjectInfo.Builder clearName()
       Object name
       
      optional string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public ObjectInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
       Object name
       
      optional string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasCreated

      public boolean hasCreated()
       Creation time
       
      optional .google.protobuf.Timestamp created = 2;
      Specified by:
      hasCreated in interface ObjectInfoOrBuilder
      Returns:
      Whether the created field is set.
    • getCreated

      public com.google.protobuf.Timestamp getCreated()
       Creation time
       
      optional .google.protobuf.Timestamp created = 2;
      Specified by:
      getCreated in interface ObjectInfoOrBuilder
      Returns:
      The created.
    • setCreated

      public ObjectInfo.Builder setCreated(com.google.protobuf.Timestamp value)
       Creation time
       
      optional .google.protobuf.Timestamp created = 2;
    • setCreated

      public ObjectInfo.Builder setCreated(com.google.protobuf.Timestamp.Builder builderForValue)
       Creation time
       
      optional .google.protobuf.Timestamp created = 2;
    • mergeCreated

      public ObjectInfo.Builder mergeCreated(com.google.protobuf.Timestamp value)
       Creation time
       
      optional .google.protobuf.Timestamp created = 2;
    • clearCreated

      public ObjectInfo.Builder clearCreated()
       Creation time
       
      optional .google.protobuf.Timestamp created = 2;
    • getCreatedBuilder

      public com.google.protobuf.Timestamp.Builder getCreatedBuilder()
       Creation time
       
      optional .google.protobuf.Timestamp created = 2;
    • getCreatedOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder()
       Creation time
       
      optional .google.protobuf.Timestamp created = 2;
      Specified by:
      getCreatedOrBuilder in interface ObjectInfoOrBuilder
    • hasSize

      public boolean hasSize()
       Size in bytes
       
      optional uint64 size = 3;
      Specified by:
      hasSize in interface ObjectInfoOrBuilder
      Returns:
      Whether the size field is set.
    • getSize

      public long getSize()
       Size in bytes
       
      optional uint64 size = 3;
      Specified by:
      getSize in interface ObjectInfoOrBuilder
      Returns:
      The size.
    • setSize

      public ObjectInfo.Builder setSize(long value)
       Size in bytes
       
      optional uint64 size = 3;
      Parameters:
      value - The size to set.
      Returns:
      This builder for chaining.
    • clearSize

      public ObjectInfo.Builder clearSize()
       Size in bytes
       
      optional uint64 size = 3;
      Returns:
      This builder for chaining.
    • getMetadataCount

      public int getMetadataCount()
      Description copied from interface: ObjectInfoOrBuilder
      map<string, string> metadata = 4;
      Specified by:
      getMetadataCount in interface ObjectInfoOrBuilder
    • containsMetadata

      public boolean containsMetadata(String key)
      map<string, string> metadata = 4;
      Specified by:
      containsMetadata in interface ObjectInfoOrBuilder
    • getMetadata

      @Deprecated public Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
      Specified by:
      getMetadata in interface ObjectInfoOrBuilder
    • getMetadataMap

      public Map<String,String> getMetadataMap()
      map<string, string> metadata = 4;
      Specified by:
      getMetadataMap in interface ObjectInfoOrBuilder
    • getMetadataOrDefault

      public String getMetadataOrDefault(String key, String defaultValue)
      map<string, string> metadata = 4;
      Specified by:
      getMetadataOrDefault in interface ObjectInfoOrBuilder
    • getMetadataOrThrow

      public String getMetadataOrThrow(String key)
      map<string, string> metadata = 4;
      Specified by:
      getMetadataOrThrow in interface ObjectInfoOrBuilder
    • clearMetadata

      public ObjectInfo.Builder clearMetadata()
    • removeMetadata

      public ObjectInfo.Builder removeMetadata(String key)
      map<string, string> metadata = 4;
    • getMutableMetadata

      @Deprecated public Map<String,String> getMutableMetadata()
      Deprecated.
      Use alternate mutation accessors instead.
    • putMetadata

      public ObjectInfo.Builder putMetadata(String key, String value)
      map<string, string> metadata = 4;
    • putAllMetadata

      public ObjectInfo.Builder putAllMetadata(Map<String,String> values)
      map<string, string> metadata = 4;
    • setUnknownFields

      public final ObjectInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ObjectInfo.Builder>
    • mergeUnknownFields

      public final ObjectInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ObjectInfo.Builder>