Class OauthFlows.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<OauthFlows.Builder>
com.openapi.v3.OauthFlows.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, OauthFlowsOrBuilder, Cloneable
Enclosing class:
OauthFlows

public static final class OauthFlows.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OauthFlows.Builder> implements OauthFlowsOrBuilder
 Allows configuration of the supported OAuth Flows.
 
Protobuf type openapi.v3.OauthFlows
  • 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<OauthFlows.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public OauthFlows.Builder mergeFrom(OauthFlows other)
    • isInitialized

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

      public OauthFlows.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<OauthFlows.Builder>
      Throws:
      IOException
    • hasImplicit

      public boolean hasImplicit()
      .openapi.v3.OauthFlow implicit = 1 [json_name = "implicit"];
      Specified by:
      hasImplicit in interface OauthFlowsOrBuilder
      Returns:
      Whether the implicit field is set.
    • getImplicit

      public OauthFlow getImplicit()
      .openapi.v3.OauthFlow implicit = 1 [json_name = "implicit"];
      Specified by:
      getImplicit in interface OauthFlowsOrBuilder
      Returns:
      The implicit.
    • setImplicit

      public OauthFlows.Builder setImplicit(OauthFlow value)
      .openapi.v3.OauthFlow implicit = 1 [json_name = "implicit"];
    • setImplicit

      public OauthFlows.Builder setImplicit(OauthFlow.Builder builderForValue)
      .openapi.v3.OauthFlow implicit = 1 [json_name = "implicit"];
    • mergeImplicit

      public OauthFlows.Builder mergeImplicit(OauthFlow value)
      .openapi.v3.OauthFlow implicit = 1 [json_name = "implicit"];
    • clearImplicit

      public OauthFlows.Builder clearImplicit()
      .openapi.v3.OauthFlow implicit = 1 [json_name = "implicit"];
    • getImplicitBuilder

      public OauthFlow.Builder getImplicitBuilder()
      .openapi.v3.OauthFlow implicit = 1 [json_name = "implicit"];
    • getImplicitOrBuilder

      public OauthFlowOrBuilder getImplicitOrBuilder()
      .openapi.v3.OauthFlow implicit = 1 [json_name = "implicit"];
      Specified by:
      getImplicitOrBuilder in interface OauthFlowsOrBuilder
    • hasPassword

      public boolean hasPassword()
      .openapi.v3.OauthFlow password = 2 [json_name = "password"];
      Specified by:
      hasPassword in interface OauthFlowsOrBuilder
      Returns:
      Whether the password field is set.
    • getPassword

      public OauthFlow getPassword()
      .openapi.v3.OauthFlow password = 2 [json_name = "password"];
      Specified by:
      getPassword in interface OauthFlowsOrBuilder
      Returns:
      The password.
    • setPassword

      public OauthFlows.Builder setPassword(OauthFlow value)
      .openapi.v3.OauthFlow password = 2 [json_name = "password"];
    • setPassword

      public OauthFlows.Builder setPassword(OauthFlow.Builder builderForValue)
      .openapi.v3.OauthFlow password = 2 [json_name = "password"];
    • mergePassword

      public OauthFlows.Builder mergePassword(OauthFlow value)
      .openapi.v3.OauthFlow password = 2 [json_name = "password"];
    • clearPassword

      public OauthFlows.Builder clearPassword()
      .openapi.v3.OauthFlow password = 2 [json_name = "password"];
    • getPasswordBuilder

      public OauthFlow.Builder getPasswordBuilder()
      .openapi.v3.OauthFlow password = 2 [json_name = "password"];
    • getPasswordOrBuilder

      public OauthFlowOrBuilder getPasswordOrBuilder()
      .openapi.v3.OauthFlow password = 2 [json_name = "password"];
      Specified by:
      getPasswordOrBuilder in interface OauthFlowsOrBuilder
    • hasClientCredentials

      public boolean hasClientCredentials()
      .openapi.v3.OauthFlow client_credentials = 3 [json_name = "clientCredentials"];
      Specified by:
      hasClientCredentials in interface OauthFlowsOrBuilder
      Returns:
      Whether the clientCredentials field is set.
    • getClientCredentials

      public OauthFlow getClientCredentials()
      .openapi.v3.OauthFlow client_credentials = 3 [json_name = "clientCredentials"];
      Specified by:
      getClientCredentials in interface OauthFlowsOrBuilder
      Returns:
      The clientCredentials.
    • setClientCredentials

      public OauthFlows.Builder setClientCredentials(OauthFlow value)
      .openapi.v3.OauthFlow client_credentials = 3 [json_name = "clientCredentials"];
    • setClientCredentials

      public OauthFlows.Builder setClientCredentials(OauthFlow.Builder builderForValue)
      .openapi.v3.OauthFlow client_credentials = 3 [json_name = "clientCredentials"];
    • mergeClientCredentials

      public OauthFlows.Builder mergeClientCredentials(OauthFlow value)
      .openapi.v3.OauthFlow client_credentials = 3 [json_name = "clientCredentials"];
    • clearClientCredentials

      public OauthFlows.Builder clearClientCredentials()
      .openapi.v3.OauthFlow client_credentials = 3 [json_name = "clientCredentials"];
    • getClientCredentialsBuilder

      public OauthFlow.Builder getClientCredentialsBuilder()
      .openapi.v3.OauthFlow client_credentials = 3 [json_name = "clientCredentials"];
    • getClientCredentialsOrBuilder

      public OauthFlowOrBuilder getClientCredentialsOrBuilder()
      .openapi.v3.OauthFlow client_credentials = 3 [json_name = "clientCredentials"];
      Specified by:
      getClientCredentialsOrBuilder in interface OauthFlowsOrBuilder
    • hasAuthorizationCode

      public boolean hasAuthorizationCode()
      .openapi.v3.OauthFlow authorization_code = 4 [json_name = "authorizationCode"];
      Specified by:
      hasAuthorizationCode in interface OauthFlowsOrBuilder
      Returns:
      Whether the authorizationCode field is set.
    • getAuthorizationCode

      public OauthFlow getAuthorizationCode()
      .openapi.v3.OauthFlow authorization_code = 4 [json_name = "authorizationCode"];
      Specified by:
      getAuthorizationCode in interface OauthFlowsOrBuilder
      Returns:
      The authorizationCode.
    • setAuthorizationCode

      public OauthFlows.Builder setAuthorizationCode(OauthFlow value)
      .openapi.v3.OauthFlow authorization_code = 4 [json_name = "authorizationCode"];
    • setAuthorizationCode

      public OauthFlows.Builder setAuthorizationCode(OauthFlow.Builder builderForValue)
      .openapi.v3.OauthFlow authorization_code = 4 [json_name = "authorizationCode"];
    • mergeAuthorizationCode

      public OauthFlows.Builder mergeAuthorizationCode(OauthFlow value)
      .openapi.v3.OauthFlow authorization_code = 4 [json_name = "authorizationCode"];
    • clearAuthorizationCode

      public OauthFlows.Builder clearAuthorizationCode()
      .openapi.v3.OauthFlow authorization_code = 4 [json_name = "authorizationCode"];
    • getAuthorizationCodeBuilder

      public OauthFlow.Builder getAuthorizationCodeBuilder()
      .openapi.v3.OauthFlow authorization_code = 4 [json_name = "authorizationCode"];
    • getAuthorizationCodeOrBuilder

      public OauthFlowOrBuilder getAuthorizationCodeOrBuilder()
      .openapi.v3.OauthFlow authorization_code = 4 [json_name = "authorizationCode"];
      Specified by:
      getAuthorizationCodeOrBuilder in interface OauthFlowsOrBuilder
    • getSpecificationExtensionList

      public List<NamedAny> getSpecificationExtensionList()
      repeated .openapi.v3.NamedAny specification_extension = 5 [json_name = "specificationExtension"];
      Specified by:
      getSpecificationExtensionList in interface OauthFlowsOrBuilder
    • getSpecificationExtensionCount

      public int getSpecificationExtensionCount()
      repeated .openapi.v3.NamedAny specification_extension = 5 [json_name = "specificationExtension"];
      Specified by:
      getSpecificationExtensionCount in interface OauthFlowsOrBuilder
    • getSpecificationExtension

      public NamedAny getSpecificationExtension(int index)
      repeated .openapi.v3.NamedAny specification_extension = 5 [json_name = "specificationExtension"];
      Specified by:
      getSpecificationExtension in interface OauthFlowsOrBuilder
    • setSpecificationExtension

      public OauthFlows.Builder setSpecificationExtension(int index, NamedAny value)
      repeated .openapi.v3.NamedAny specification_extension = 5 [json_name = "specificationExtension"];
    • setSpecificationExtension

      public OauthFlows.Builder setSpecificationExtension(int index, NamedAny.Builder builderForValue)
      repeated .openapi.v3.NamedAny specification_extension = 5 [json_name = "specificationExtension"];
    • addSpecificationExtension

      public OauthFlows.Builder addSpecificationExtension(NamedAny value)
      repeated .openapi.v3.NamedAny specification_extension = 5 [json_name = "specificationExtension"];
    • addSpecificationExtension

      public OauthFlows.Builder addSpecificationExtension(int index, NamedAny value)
      repeated .openapi.v3.NamedAny specification_extension = 5 [json_name = "specificationExtension"];
    • addSpecificationExtension

      public OauthFlows.Builder addSpecificationExtension(NamedAny.Builder builderForValue)
      repeated .openapi.v3.NamedAny specification_extension = 5 [json_name = "specificationExtension"];
    • addSpecificationExtension

      public OauthFlows.Builder addSpecificationExtension(int index, NamedAny.Builder builderForValue)
      repeated .openapi.v3.NamedAny specification_extension = 5 [json_name = "specificationExtension"];
    • addAllSpecificationExtension

      public OauthFlows.Builder addAllSpecificationExtension(Iterable<? extends NamedAny> values)
      repeated .openapi.v3.NamedAny specification_extension = 5 [json_name = "specificationExtension"];
    • clearSpecificationExtension

      public OauthFlows.Builder clearSpecificationExtension()
      repeated .openapi.v3.NamedAny specification_extension = 5 [json_name = "specificationExtension"];
    • removeSpecificationExtension

      public OauthFlows.Builder removeSpecificationExtension(int index)
      repeated .openapi.v3.NamedAny specification_extension = 5 [json_name = "specificationExtension"];
    • getSpecificationExtensionBuilder

      public NamedAny.Builder getSpecificationExtensionBuilder(int index)
      repeated .openapi.v3.NamedAny specification_extension = 5 [json_name = "specificationExtension"];
    • getSpecificationExtensionOrBuilder

      public NamedAnyOrBuilder getSpecificationExtensionOrBuilder(int index)
      repeated .openapi.v3.NamedAny specification_extension = 5 [json_name = "specificationExtension"];
      Specified by:
      getSpecificationExtensionOrBuilder in interface OauthFlowsOrBuilder
    • getSpecificationExtensionOrBuilderList

      public List<? extends NamedAnyOrBuilder> getSpecificationExtensionOrBuilderList()
      repeated .openapi.v3.NamedAny specification_extension = 5 [json_name = "specificationExtension"];
      Specified by:
      getSpecificationExtensionOrBuilderList in interface OauthFlowsOrBuilder
    • addSpecificationExtensionBuilder

      public NamedAny.Builder addSpecificationExtensionBuilder()
      repeated .openapi.v3.NamedAny specification_extension = 5 [json_name = "specificationExtension"];
    • addSpecificationExtensionBuilder

      public NamedAny.Builder addSpecificationExtensionBuilder(int index)
      repeated .openapi.v3.NamedAny specification_extension = 5 [json_name = "specificationExtension"];
    • getSpecificationExtensionBuilderList

      public List<NamedAny.Builder> getSpecificationExtensionBuilderList()
      repeated .openapi.v3.NamedAny specification_extension = 5 [json_name = "specificationExtension"];
    • setUnknownFields

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

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