Class ApplicationRecord.Builder

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

public static final class ApplicationRecord.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ApplicationRecord.Builder> implements ApplicationRecordOrBuilder
Protobuf type ApplicationRecord
  • Method Details

    • getDescriptor

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

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

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

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

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

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

      public ApplicationRecord.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<ApplicationRecord.Builder>
    • setField

      public ApplicationRecord.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<ApplicationRecord.Builder>
    • clearField

      public ApplicationRecord.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<ApplicationRecord.Builder>
    • clearOneof

      public ApplicationRecord.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<ApplicationRecord.Builder>
    • setRepeatedField

      public ApplicationRecord.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<ApplicationRecord.Builder>
    • addRepeatedField

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

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

      public ApplicationRecord.Builder mergeFrom(ApplicationRecord other)
    • isInitialized

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

      public ApplicationRecord.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<ApplicationRecord.Builder>
      Throws:
      IOException
    • hasId

      public boolean hasId()
      optional int32 id = 1;
      Specified by:
      hasId in interface ApplicationRecordOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public int getId()
      optional int32 id = 1;
      Specified by:
      getId in interface ApplicationRecordOrBuilder
      Returns:
      The id.
    • setId

      public ApplicationRecord.Builder setId(int value)
      optional int32 id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public ApplicationRecord.Builder clearId()
      optional int32 id = 1;
      Returns:
      This builder for chaining.
    • hasName

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

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

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

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

      public ApplicationRecord.Builder clearName()
      optional string name = 2;
      Returns:
      This builder for chaining.
    • setNameBytes

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

      public boolean hasClientId()
      optional string clientId = 3;
      Specified by:
      hasClientId in interface ApplicationRecordOrBuilder
      Returns:
      Whether the clientId field is set.
    • getClientId

      public String getClientId()
      optional string clientId = 3;
      Specified by:
      getClientId in interface ApplicationRecordOrBuilder
      Returns:
      The clientId.
    • getClientIdBytes

      public com.google.protobuf.ByteString getClientIdBytes()
      optional string clientId = 3;
      Specified by:
      getClientIdBytes in interface ApplicationRecordOrBuilder
      Returns:
      The bytes for clientId.
    • setClientId

      public ApplicationRecord.Builder setClientId(String value)
      optional string clientId = 3;
      Parameters:
      value - The clientId to set.
      Returns:
      This builder for chaining.
    • clearClientId

      public ApplicationRecord.Builder clearClientId()
      optional string clientId = 3;
      Returns:
      This builder for chaining.
    • setClientIdBytes

      public ApplicationRecord.Builder setClientIdBytes(com.google.protobuf.ByteString value)
      optional string clientId = 3;
      Parameters:
      value - The bytes for clientId to set.
      Returns:
      This builder for chaining.
    • hasClientHash

      public boolean hasClientHash()
      optional string clientHash = 4;
      Specified by:
      hasClientHash in interface ApplicationRecordOrBuilder
      Returns:
      Whether the clientHash field is set.
    • getClientHash

      public String getClientHash()
      optional string clientHash = 4;
      Specified by:
      getClientHash in interface ApplicationRecordOrBuilder
      Returns:
      The clientHash.
    • getClientHashBytes

      public com.google.protobuf.ByteString getClientHashBytes()
      optional string clientHash = 4;
      Specified by:
      getClientHashBytes in interface ApplicationRecordOrBuilder
      Returns:
      The bytes for clientHash.
    • setClientHash

      public ApplicationRecord.Builder setClientHash(String value)
      optional string clientHash = 4;
      Parameters:
      value - The clientHash to set.
      Returns:
      This builder for chaining.
    • clearClientHash

      public ApplicationRecord.Builder clearClientHash()
      optional string clientHash = 4;
      Returns:
      This builder for chaining.
    • setClientHashBytes

      public ApplicationRecord.Builder setClientHashBytes(com.google.protobuf.ByteString value)
      optional string clientHash = 4;
      Parameters:
      value - The bytes for clientHash to set.
      Returns:
      This builder for chaining.
    • getScopesList

      public com.google.protobuf.ProtocolStringList getScopesList()
      repeated string scopes = 5;
      Specified by:
      getScopesList in interface ApplicationRecordOrBuilder
      Returns:
      A list containing the scopes.
    • getScopesCount

      public int getScopesCount()
      repeated string scopes = 5;
      Specified by:
      getScopesCount in interface ApplicationRecordOrBuilder
      Returns:
      The count of scopes.
    • getScopes

      public String getScopes(int index)
      repeated string scopes = 5;
      Specified by:
      getScopes in interface ApplicationRecordOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The scopes at the given index.
    • getScopesBytes

      public com.google.protobuf.ByteString getScopesBytes(int index)
      repeated string scopes = 5;
      Specified by:
      getScopesBytes in interface ApplicationRecordOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the scopes at the given index.
    • setScopes

      public ApplicationRecord.Builder setScopes(int index, String value)
      repeated string scopes = 5;
      Parameters:
      index - The index to set the value at.
      value - The scopes to set.
      Returns:
      This builder for chaining.
    • addScopes

      public ApplicationRecord.Builder addScopes(String value)
      repeated string scopes = 5;
      Parameters:
      value - The scopes to add.
      Returns:
      This builder for chaining.
    • addAllScopes

      public ApplicationRecord.Builder addAllScopes(Iterable<String> values)
      repeated string scopes = 5;
      Parameters:
      values - The scopes to add.
      Returns:
      This builder for chaining.
    • clearScopes

      public ApplicationRecord.Builder clearScopes()
      repeated string scopes = 5;
      Returns:
      This builder for chaining.
    • addScopesBytes

      public ApplicationRecord.Builder addScopesBytes(com.google.protobuf.ByteString value)
      repeated string scopes = 5;
      Parameters:
      value - The bytes of the scopes to add.
      Returns:
      This builder for chaining.
    • hasCreatedBy

      public boolean hasCreatedBy()
      optional int32 createdBy = 6;
      Specified by:
      hasCreatedBy in interface ApplicationRecordOrBuilder
      Returns:
      Whether the createdBy field is set.
    • getCreatedBy

      public int getCreatedBy()
      optional int32 createdBy = 6;
      Specified by:
      getCreatedBy in interface ApplicationRecordOrBuilder
      Returns:
      The createdBy.
    • setCreatedBy

      public ApplicationRecord.Builder setCreatedBy(int value)
      optional int32 createdBy = 6;
      Parameters:
      value - The createdBy to set.
      Returns:
      This builder for chaining.
    • clearCreatedBy

      public ApplicationRecord.Builder clearCreatedBy()
      optional int32 createdBy = 6;
      Returns:
      This builder for chaining.
    • hasCreationTime

      public boolean hasCreationTime()
      optional .google.protobuf.Timestamp creationTime = 7;
      Specified by:
      hasCreationTime in interface ApplicationRecordOrBuilder
      Returns:
      Whether the creationTime field is set.
    • getCreationTime

      public com.google.protobuf.Timestamp getCreationTime()
      optional .google.protobuf.Timestamp creationTime = 7;
      Specified by:
      getCreationTime in interface ApplicationRecordOrBuilder
      Returns:
      The creationTime.
    • setCreationTime

      public ApplicationRecord.Builder setCreationTime(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp creationTime = 7;
    • setCreationTime

      public ApplicationRecord.Builder setCreationTime(com.google.protobuf.Timestamp.Builder builderForValue)
      optional .google.protobuf.Timestamp creationTime = 7;
    • mergeCreationTime

      public ApplicationRecord.Builder mergeCreationTime(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp creationTime = 7;
    • clearCreationTime

      public ApplicationRecord.Builder clearCreationTime()
      optional .google.protobuf.Timestamp creationTime = 7;
    • getCreationTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreationTimeBuilder()
      optional .google.protobuf.Timestamp creationTime = 7;
    • getCreationTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()
      optional .google.protobuf.Timestamp creationTime = 7;
      Specified by:
      getCreationTimeOrBuilder in interface ApplicationRecordOrBuilder
    • hasLastLoginTime

      public boolean hasLastLoginTime()
      optional .google.protobuf.Timestamp lastLoginTime = 8;
      Specified by:
      hasLastLoginTime in interface ApplicationRecordOrBuilder
      Returns:
      Whether the lastLoginTime field is set.
    • getLastLoginTime

      public com.google.protobuf.Timestamp getLastLoginTime()
      optional .google.protobuf.Timestamp lastLoginTime = 8;
      Specified by:
      getLastLoginTime in interface ApplicationRecordOrBuilder
      Returns:
      The lastLoginTime.
    • setLastLoginTime

      public ApplicationRecord.Builder setLastLoginTime(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp lastLoginTime = 8;
    • setLastLoginTime

      public ApplicationRecord.Builder setLastLoginTime(com.google.protobuf.Timestamp.Builder builderForValue)
      optional .google.protobuf.Timestamp lastLoginTime = 8;
    • mergeLastLoginTime

      public ApplicationRecord.Builder mergeLastLoginTime(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp lastLoginTime = 8;
    • clearLastLoginTime

      public ApplicationRecord.Builder clearLastLoginTime()
      optional .google.protobuf.Timestamp lastLoginTime = 8;
    • getLastLoginTimeBuilder

      public com.google.protobuf.Timestamp.Builder getLastLoginTimeBuilder()
      optional .google.protobuf.Timestamp lastLoginTime = 8;
    • getLastLoginTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastLoginTimeOrBuilder()
      optional .google.protobuf.Timestamp lastLoginTime = 8;
      Specified by:
      getLastLoginTimeOrBuilder in interface ApplicationRecordOrBuilder
    • setUnknownFields

      public final ApplicationRecord.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<ApplicationRecord.Builder>
    • mergeUnknownFields

      public final ApplicationRecord.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<ApplicationRecord.Builder>