Package org.a2aproject.sdk.compat03.grpc
Class HTTPAuthSecurityScheme.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<HTTPAuthSecurityScheme.Builder>
org.a2aproject.sdk.compat03.grpc.HTTPAuthSecurityScheme.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,HTTPAuthSecuritySchemeOrBuilder
- Enclosing class:
- HTTPAuthSecurityScheme
public static final class HTTPAuthSecurityScheme.Builder
extends com.google.protobuf.GeneratedMessage.Builder<HTTPAuthSecurityScheme.Builder>
implements HTTPAuthSecuritySchemeOrBuilder
Protobuf type
a2a.v1.HTTPAuthSecurityScheme-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()A hint to the client to identify how the bearer token is formatted.Description of this security scheme.The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235.A hint to the client to identify how the bearer token is formatted.com.google.protobuf.ByteStringA hint to the client to identify how the bearer token is formatted.Description of this security scheme.com.google.protobuf.ByteStringDescription of this security scheme.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235.com.google.protobuf.ByteStringThe name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(HTTPAuthSecurityScheme other) setBearerFormat(String value) A hint to the client to identify how the bearer token is formatted.setBearerFormatBytes(com.google.protobuf.ByteString value) A hint to the client to identify how the bearer token is formatted.setDescription(String value) Description of this security scheme.setDescriptionBytes(com.google.protobuf.ByteString value) Description of this security scheme.The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235.setSchemeBytes(com.google.protobuf.ByteString value) The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235.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<HTTPAuthSecurityScheme.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<HTTPAuthSecurityScheme.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<HTTPAuthSecurityScheme.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<HTTPAuthSecurityScheme.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<HTTPAuthSecurityScheme.Builder>
-
mergeFrom
public HTTPAuthSecurityScheme.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<HTTPAuthSecurityScheme.Builder>- Throws:
IOException
-
getDescription
Description of this security scheme.
string description = 1;- Specified by:
getDescriptionin interfaceHTTPAuthSecuritySchemeOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description of this security scheme.
string description = 1;- Specified by:
getDescriptionBytesin interfaceHTTPAuthSecuritySchemeOrBuilder- 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.
-
getScheme
The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry. The value is case-insensitive, as defined in RFC7235.
string scheme = 2;- Specified by:
getSchemein interfaceHTTPAuthSecuritySchemeOrBuilder- Returns:
- The scheme.
-
getSchemeBytes
public com.google.protobuf.ByteString getSchemeBytes()The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry. The value is case-insensitive, as defined in RFC7235.
string scheme = 2;- Specified by:
getSchemeBytesin interfaceHTTPAuthSecuritySchemeOrBuilder- Returns:
- The bytes for scheme.
-
setScheme
The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry. The value is case-insensitive, as defined in RFC7235.
string scheme = 2;- Parameters:
value- The scheme to set.- Returns:
- This builder for chaining.
-
clearScheme
The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry. The value is case-insensitive, as defined in RFC7235.
string scheme = 2;- Returns:
- This builder for chaining.
-
setSchemeBytes
The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry. The value is case-insensitive, as defined in RFC7235.
string scheme = 2;- Parameters:
value- The bytes for scheme to set.- Returns:
- This builder for chaining.
-
getBearerFormat
A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes.
string bearer_format = 3;- Specified by:
getBearerFormatin interfaceHTTPAuthSecuritySchemeOrBuilder- Returns:
- The bearerFormat.
-
getBearerFormatBytes
public com.google.protobuf.ByteString getBearerFormatBytes()A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes.
string bearer_format = 3;- Specified by:
getBearerFormatBytesin interfaceHTTPAuthSecuritySchemeOrBuilder- Returns:
- The bytes for bearerFormat.
-
setBearerFormat
A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes.
string bearer_format = 3;- Parameters:
value- The bearerFormat to set.- Returns:
- This builder for chaining.
-
clearBearerFormat
A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes.
string bearer_format = 3;- Returns:
- This builder for chaining.
-
setBearerFormatBytes
A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes.
string bearer_format = 3;- Parameters:
value- The bytes for bearerFormat to set.- Returns:
- This builder for chaining.
-