Package org.a2aproject.sdk.compat03.grpc
Class OAuth2SecurityScheme.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OAuth2SecurityScheme.Builder>
org.a2aproject.sdk.compat03.grpc.OAuth2SecurityScheme.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,OAuth2SecuritySchemeOrBuilder
- Enclosing class:
- OAuth2SecurityScheme
public static final class OAuth2SecurityScheme.Builder
extends com.google.protobuf.GeneratedMessage.Builder<OAuth2SecurityScheme.Builder>
implements OAuth2SecuritySchemeOrBuilder
Protobuf type
a2a.v1.OAuth2SecurityScheme-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Description of this security scheme.An object containing configuration information for the flow types supportedURL to the oauth2 authorization server metadata [RFC8414](https://datatracker.ietf.org/doc/html/rfc8414).Description of this security scheme.com.google.protobuf.ByteStringDescription of this security scheme.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFlows()An object containing configuration information for the flow types supportedAn object containing configuration information for the flow types supportedAn object containing configuration information for the flow types supportedURL to the oauth2 authorization server metadata [RFC8414](https://datatracker.ietf.org/doc/html/rfc8414).com.google.protobuf.ByteStringURL to the oauth2 authorization server metadata [RFC8414](https://datatracker.ietf.org/doc/html/rfc8414).booleanhasFlows()An object containing configuration information for the flow types supportedprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFlows(OAuthFlows value) An object containing configuration information for the flow types supportedmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(OAuth2SecurityScheme other) setDescription(String value) Description of this security scheme.setDescriptionBytes(com.google.protobuf.ByteString value) Description of this security scheme.setFlows(OAuthFlows value) An object containing configuration information for the flow types supportedsetFlows(OAuthFlows.Builder builderForValue) An object containing configuration information for the flow types supportedsetOauth2MetadataUrl(String value) URL to the oauth2 authorization server metadata [RFC8414](https://datatracker.ietf.org/doc/html/rfc8414).setOauth2MetadataUrlBytes(com.google.protobuf.ByteString value) URL to the oauth2 authorization server metadata [RFC8414](https://datatracker.ietf.org/doc/html/rfc8414).Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<OAuth2SecurityScheme.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<OAuth2SecurityScheme.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<OAuth2SecurityScheme.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OAuth2SecurityScheme.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OAuth2SecurityScheme.Builder>
-
mergeFrom
public OAuth2SecurityScheme.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OAuth2SecurityScheme.Builder>- Throws:
IOException
-
getDescription
Description of this security scheme.
string description = 1;- Specified by:
getDescriptionin interfaceOAuth2SecuritySchemeOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description of this security scheme.
string description = 1;- Specified by:
getDescriptionBytesin interfaceOAuth2SecuritySchemeOrBuilder- Returns:
- The bytes for description.
-
setDescription
Description of this security scheme.
string description = 1;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Description of this security scheme.
string description = 1;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Description of this security scheme.
string description = 1;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasFlows
public boolean hasFlows()An object containing configuration information for the flow types supported
.a2a.v1.OAuthFlows flows = 2;- Specified by:
hasFlowsin interfaceOAuth2SecuritySchemeOrBuilder- Returns:
- Whether the flows field is set.
-
getFlows
An object containing configuration information for the flow types supported
.a2a.v1.OAuthFlows flows = 2;- Specified by:
getFlowsin interfaceOAuth2SecuritySchemeOrBuilder- Returns:
- The flows.
-
setFlows
An object containing configuration information for the flow types supported
.a2a.v1.OAuthFlows flows = 2; -
setFlows
An object containing configuration information for the flow types supported
.a2a.v1.OAuthFlows flows = 2; -
mergeFlows
An object containing configuration information for the flow types supported
.a2a.v1.OAuthFlows flows = 2; -
clearFlows
An object containing configuration information for the flow types supported
.a2a.v1.OAuthFlows flows = 2; -
getFlowsBuilder
An object containing configuration information for the flow types supported
.a2a.v1.OAuthFlows flows = 2; -
getFlowsOrBuilder
An object containing configuration information for the flow types supported
.a2a.v1.OAuthFlows flows = 2;- Specified by:
getFlowsOrBuilderin interfaceOAuth2SecuritySchemeOrBuilder
-
getOauth2MetadataUrl
URL to the oauth2 authorization server metadata [RFC8414](https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.
string oauth2_metadata_url = 3;- Specified by:
getOauth2MetadataUrlin interfaceOAuth2SecuritySchemeOrBuilder- Returns:
- The oauth2MetadataUrl.
-
getOauth2MetadataUrlBytes
public com.google.protobuf.ByteString getOauth2MetadataUrlBytes()URL to the oauth2 authorization server metadata [RFC8414](https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.
string oauth2_metadata_url = 3;- Specified by:
getOauth2MetadataUrlBytesin interfaceOAuth2SecuritySchemeOrBuilder- Returns:
- The bytes for oauth2MetadataUrl.
-
setOauth2MetadataUrl
URL to the oauth2 authorization server metadata [RFC8414](https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.
string oauth2_metadata_url = 3;- Parameters:
value- The oauth2MetadataUrl to set.- Returns:
- This builder for chaining.
-
clearOauth2MetadataUrl
URL to the oauth2 authorization server metadata [RFC8414](https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.
string oauth2_metadata_url = 3;- Returns:
- This builder for chaining.
-
setOauth2MetadataUrlBytes
URL to the oauth2 authorization server metadata [RFC8414](https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.
string oauth2_metadata_url = 3;- Parameters:
value- The bytes for oauth2MetadataUrl to set.- Returns:
- This builder for chaining.
-