Class DexOuterClass.Client.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Client.Builder>
com.coreos.dex.api.DexOuterClass.Client.Builder
All Implemented Interfaces:
DexOuterClass.ClientOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DexOuterClass.Client

public static final class DexOuterClass.Client.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Client.Builder> implements DexOuterClass.ClientOrBuilder
 Client represents an OAuth2 client.
 
Protobuf type api.Client
  • 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<DexOuterClass.Client.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<DexOuterClass.Client.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<DexOuterClass.Client.Builder>
    • getDefaultInstanceForType

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

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

      public DexOuterClass.Client buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<DexOuterClass.Client.Builder>
    • setField

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

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

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

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

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

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

    • isInitialized

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

      public DexOuterClass.Client.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<DexOuterClass.Client.Builder>
      Throws:
      IOException
    • getId

      public String getId()
      string id = 1;
      Specified by:
      getId in interface DexOuterClass.ClientOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      string id = 1;
      Specified by:
      getIdBytes in interface DexOuterClass.ClientOrBuilder
      Returns:
      The bytes for id.
    • setId

      public DexOuterClass.Client.Builder setId(String value)
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public DexOuterClass.Client.Builder clearId()
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public DexOuterClass.Client.Builder setIdBytes(com.google.protobuf.ByteString value)
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getSecret

      public String getSecret()
      string secret = 2;
      Specified by:
      getSecret in interface DexOuterClass.ClientOrBuilder
      Returns:
      The secret.
    • getSecretBytes

      public com.google.protobuf.ByteString getSecretBytes()
      string secret = 2;
      Specified by:
      getSecretBytes in interface DexOuterClass.ClientOrBuilder
      Returns:
      The bytes for secret.
    • setSecret

      public DexOuterClass.Client.Builder setSecret(String value)
      string secret = 2;
      Parameters:
      value - The secret to set.
      Returns:
      This builder for chaining.
    • clearSecret

      public DexOuterClass.Client.Builder clearSecret()
      string secret = 2;
      Returns:
      This builder for chaining.
    • setSecretBytes

      public DexOuterClass.Client.Builder setSecretBytes(com.google.protobuf.ByteString value)
      string secret = 2;
      Parameters:
      value - The bytes for secret to set.
      Returns:
      This builder for chaining.
    • getRedirectUrisList

      public com.google.protobuf.ProtocolStringList getRedirectUrisList()
      repeated string redirect_uris = 3;
      Specified by:
      getRedirectUrisList in interface DexOuterClass.ClientOrBuilder
      Returns:
      A list containing the redirectUris.
    • getRedirectUrisCount

      public int getRedirectUrisCount()
      repeated string redirect_uris = 3;
      Specified by:
      getRedirectUrisCount in interface DexOuterClass.ClientOrBuilder
      Returns:
      The count of redirectUris.
    • getRedirectUris

      public String getRedirectUris(int index)
      repeated string redirect_uris = 3;
      Specified by:
      getRedirectUris in interface DexOuterClass.ClientOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The redirectUris at the given index.
    • getRedirectUrisBytes

      public com.google.protobuf.ByteString getRedirectUrisBytes(int index)
      repeated string redirect_uris = 3;
      Specified by:
      getRedirectUrisBytes in interface DexOuterClass.ClientOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the redirectUris at the given index.
    • setRedirectUris

      public DexOuterClass.Client.Builder setRedirectUris(int index, String value)
      repeated string redirect_uris = 3;
      Parameters:
      index - The index to set the value at.
      value - The redirectUris to set.
      Returns:
      This builder for chaining.
    • addRedirectUris

      public DexOuterClass.Client.Builder addRedirectUris(String value)
      repeated string redirect_uris = 3;
      Parameters:
      value - The redirectUris to add.
      Returns:
      This builder for chaining.
    • addAllRedirectUris

      public DexOuterClass.Client.Builder addAllRedirectUris(Iterable<String> values)
      repeated string redirect_uris = 3;
      Parameters:
      values - The redirectUris to add.
      Returns:
      This builder for chaining.
    • clearRedirectUris

      public DexOuterClass.Client.Builder clearRedirectUris()
      repeated string redirect_uris = 3;
      Returns:
      This builder for chaining.
    • addRedirectUrisBytes

      public DexOuterClass.Client.Builder addRedirectUrisBytes(com.google.protobuf.ByteString value)
      repeated string redirect_uris = 3;
      Parameters:
      value - The bytes of the redirectUris to add.
      Returns:
      This builder for chaining.
    • getTrustedPeersList

      public com.google.protobuf.ProtocolStringList getTrustedPeersList()
      repeated string trusted_peers = 4;
      Specified by:
      getTrustedPeersList in interface DexOuterClass.ClientOrBuilder
      Returns:
      A list containing the trustedPeers.
    • getTrustedPeersCount

      public int getTrustedPeersCount()
      repeated string trusted_peers = 4;
      Specified by:
      getTrustedPeersCount in interface DexOuterClass.ClientOrBuilder
      Returns:
      The count of trustedPeers.
    • getTrustedPeers

      public String getTrustedPeers(int index)
      repeated string trusted_peers = 4;
      Specified by:
      getTrustedPeers in interface DexOuterClass.ClientOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The trustedPeers at the given index.
    • getTrustedPeersBytes

      public com.google.protobuf.ByteString getTrustedPeersBytes(int index)
      repeated string trusted_peers = 4;
      Specified by:
      getTrustedPeersBytes in interface DexOuterClass.ClientOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the trustedPeers at the given index.
    • setTrustedPeers

      public DexOuterClass.Client.Builder setTrustedPeers(int index, String value)
      repeated string trusted_peers = 4;
      Parameters:
      index - The index to set the value at.
      value - The trustedPeers to set.
      Returns:
      This builder for chaining.
    • addTrustedPeers

      public DexOuterClass.Client.Builder addTrustedPeers(String value)
      repeated string trusted_peers = 4;
      Parameters:
      value - The trustedPeers to add.
      Returns:
      This builder for chaining.
    • addAllTrustedPeers

      public DexOuterClass.Client.Builder addAllTrustedPeers(Iterable<String> values)
      repeated string trusted_peers = 4;
      Parameters:
      values - The trustedPeers to add.
      Returns:
      This builder for chaining.
    • clearTrustedPeers

      public DexOuterClass.Client.Builder clearTrustedPeers()
      repeated string trusted_peers = 4;
      Returns:
      This builder for chaining.
    • addTrustedPeersBytes

      public DexOuterClass.Client.Builder addTrustedPeersBytes(com.google.protobuf.ByteString value)
      repeated string trusted_peers = 4;
      Parameters:
      value - The bytes of the trustedPeers to add.
      Returns:
      This builder for chaining.
    • getPublic

      public boolean getPublic()
      bool public = 5;
      Specified by:
      getPublic in interface DexOuterClass.ClientOrBuilder
      Returns:
      The public.
    • setPublic

      public DexOuterClass.Client.Builder setPublic(boolean value)
      bool public = 5;
      Parameters:
      value - The public to set.
      Returns:
      This builder for chaining.
    • clearPublic

      public DexOuterClass.Client.Builder clearPublic()
      bool public = 5;
      Returns:
      This builder for chaining.
    • getName

      public String getName()
      string name = 6;
      Specified by:
      getName in interface DexOuterClass.ClientOrBuilder
      Returns:
      The name.
    • getNameBytes

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

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

      public DexOuterClass.Client.Builder clearName()
      string name = 6;
      Returns:
      This builder for chaining.
    • setNameBytes

      public DexOuterClass.Client.Builder setNameBytes(com.google.protobuf.ByteString value)
      string name = 6;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getLogoUrl

      public String getLogoUrl()
      string logo_url = 7;
      Specified by:
      getLogoUrl in interface DexOuterClass.ClientOrBuilder
      Returns:
      The logoUrl.
    • getLogoUrlBytes

      public com.google.protobuf.ByteString getLogoUrlBytes()
      string logo_url = 7;
      Specified by:
      getLogoUrlBytes in interface DexOuterClass.ClientOrBuilder
      Returns:
      The bytes for logoUrl.
    • setLogoUrl

      public DexOuterClass.Client.Builder setLogoUrl(String value)
      string logo_url = 7;
      Parameters:
      value - The logoUrl to set.
      Returns:
      This builder for chaining.
    • clearLogoUrl

      public DexOuterClass.Client.Builder clearLogoUrl()
      string logo_url = 7;
      Returns:
      This builder for chaining.
    • setLogoUrlBytes

      public DexOuterClass.Client.Builder setLogoUrlBytes(com.google.protobuf.ByteString value)
      string logo_url = 7;
      Parameters:
      value - The bytes for logoUrl to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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