Package com.coreos.dex.api
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 Summary
Modifier and TypeMethodDescriptionaddAllRedirectUris
(Iterable<String> values) repeated string redirect_uris = 3;
addAllTrustedPeers
(Iterable<String> values) repeated string trusted_peers = 4;
addRedirectUris
(String value) repeated string redirect_uris = 3;
addRedirectUrisBytes
(com.google.protobuf.ByteString value) repeated string redirect_uris = 3;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTrustedPeers
(String value) repeated string trusted_peers = 4;
addTrustedPeersBytes
(com.google.protobuf.ByteString value) repeated string trusted_peers = 4;
build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()
string id = 1;
string logo_url = 7;
string name = 6;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) bool public = 5;
repeated string redirect_uris = 3;
string secret = 2;
repeated string trusted_peers = 4;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getId()
string id = 1;
com.google.protobuf.ByteString
string id = 1;
string logo_url = 7;
com.google.protobuf.ByteString
string logo_url = 7;
getName()
string name = 6;
com.google.protobuf.ByteString
string name = 6;
boolean
bool public = 5;
getRedirectUris
(int index) repeated string redirect_uris = 3;
com.google.protobuf.ByteString
getRedirectUrisBytes
(int index) repeated string redirect_uris = 3;
int
repeated string redirect_uris = 3;
com.google.protobuf.ProtocolStringList
repeated string redirect_uris = 3;
string secret = 2;
com.google.protobuf.ByteString
string secret = 2;
getTrustedPeers
(int index) repeated string trusted_peers = 4;
com.google.protobuf.ByteString
getTrustedPeersBytes
(int index) repeated string trusted_peers = 4;
int
repeated string trusted_peers = 4;
com.google.protobuf.ProtocolStringList
repeated string trusted_peers = 4;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(DexOuterClass.Client other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) string id = 1;
setIdBytes
(com.google.protobuf.ByteString value) string id = 1;
setLogoUrl
(String value) string logo_url = 7;
setLogoUrlBytes
(com.google.protobuf.ByteString value) string logo_url = 7;
string name = 6;
setNameBytes
(com.google.protobuf.ByteString value) string name = 6;
setPublic
(boolean value) bool public = 5;
setRedirectUris
(int index, String value) repeated string redirect_uris = 3;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) string secret = 2;
setSecretBytes
(com.google.protobuf.ByteString value) string secret = 2;
setTrustedPeers
(int index, String value) repeated string trusted_peers = 4;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Client.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Client.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Client.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Client.Builder>
-
clearField
public DexOuterClass.Client.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Client.Builder>
-
clearOneof
public DexOuterClass.Client.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Client.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DexOuterClass.Client.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DexOuterClass.Client.Builder>
- Throws:
IOException
-
getId
string id = 1;
- Specified by:
getId
in interfaceDexOuterClass.ClientOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1;
- Specified by:
getIdBytes
in interfaceDexOuterClass.ClientOrBuilder
- Returns:
- The bytes for id.
-
setId
string id = 1;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
string id = 1;
- Returns:
- This builder for chaining.
-
setIdBytes
string id = 1;
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
getSecret
string secret = 2;
- Specified by:
getSecret
in interfaceDexOuterClass.ClientOrBuilder
- Returns:
- The secret.
-
getSecretBytes
public com.google.protobuf.ByteString getSecretBytes()string secret = 2;
- Specified by:
getSecretBytes
in interfaceDexOuterClass.ClientOrBuilder
- Returns:
- The bytes for secret.
-
setSecret
string secret = 2;
- Parameters:
value
- The secret to set.- Returns:
- This builder for chaining.
-
clearSecret
string secret = 2;
- Returns:
- This builder for chaining.
-
setSecretBytes
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 interfaceDexOuterClass.ClientOrBuilder
- Returns:
- A list containing the redirectUris.
-
getRedirectUrisCount
public int getRedirectUrisCount()repeated string redirect_uris = 3;
- Specified by:
getRedirectUrisCount
in interfaceDexOuterClass.ClientOrBuilder
- Returns:
- The count of redirectUris.
-
getRedirectUris
repeated string redirect_uris = 3;
- Specified by:
getRedirectUris
in interfaceDexOuterClass.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 interfaceDexOuterClass.ClientOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the redirectUris at the given index.
-
setRedirectUris
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
repeated string redirect_uris = 3;
- Parameters:
value
- The redirectUris to add.- Returns:
- This builder for chaining.
-
addAllRedirectUris
repeated string redirect_uris = 3;
- Parameters:
values
- The redirectUris to add.- Returns:
- This builder for chaining.
-
clearRedirectUris
repeated string redirect_uris = 3;
- Returns:
- This builder for chaining.
-
addRedirectUrisBytes
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 interfaceDexOuterClass.ClientOrBuilder
- Returns:
- A list containing the trustedPeers.
-
getTrustedPeersCount
public int getTrustedPeersCount()repeated string trusted_peers = 4;
- Specified by:
getTrustedPeersCount
in interfaceDexOuterClass.ClientOrBuilder
- Returns:
- The count of trustedPeers.
-
getTrustedPeers
repeated string trusted_peers = 4;
- Specified by:
getTrustedPeers
in interfaceDexOuterClass.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 interfaceDexOuterClass.ClientOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the trustedPeers at the given index.
-
setTrustedPeers
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
repeated string trusted_peers = 4;
- Parameters:
value
- The trustedPeers to add.- Returns:
- This builder for chaining.
-
addAllTrustedPeers
repeated string trusted_peers = 4;
- Parameters:
values
- The trustedPeers to add.- Returns:
- This builder for chaining.
-
clearTrustedPeers
repeated string trusted_peers = 4;
- Returns:
- This builder for chaining.
-
addTrustedPeersBytes
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 interfaceDexOuterClass.ClientOrBuilder
- Returns:
- The public.
-
setPublic
bool public = 5;
- Parameters:
value
- The public to set.- Returns:
- This builder for chaining.
-
clearPublic
bool public = 5;
- Returns:
- This builder for chaining.
-
getName
string name = 6;
- Specified by:
getName
in interfaceDexOuterClass.ClientOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 6;
- Specified by:
getNameBytes
in interfaceDexOuterClass.ClientOrBuilder
- Returns:
- The bytes for name.
-
setName
string name = 6;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
string name = 6;
- Returns:
- This builder for chaining.
-
setNameBytes
string name = 6;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getLogoUrl
string logo_url = 7;
- Specified by:
getLogoUrl
in interfaceDexOuterClass.ClientOrBuilder
- Returns:
- The logoUrl.
-
getLogoUrlBytes
public com.google.protobuf.ByteString getLogoUrlBytes()string logo_url = 7;
- Specified by:
getLogoUrlBytes
in interfaceDexOuterClass.ClientOrBuilder
- Returns:
- The bytes for logoUrl.
-
setLogoUrl
string logo_url = 7;
- Parameters:
value
- The logoUrl to set.- Returns:
- This builder for chaining.
-
clearLogoUrl
string logo_url = 7;
- Returns:
- This builder for chaining.
-
setLogoUrlBytes
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Client.Builder>
-
mergeUnknownFields
public final DexOuterClass.Client.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DexOuterClass.Client.Builder>
-