public static final class HTTPAuthSecurityScheme.Builder extends GeneratedMessage.Builder<HTTPAuthSecurityScheme.Builder> implements HTTPAuthSecuritySchemeOrBuilderHTTPAuthSecurityScheme defines an HTTP authentication security scheme.
Protobuf type google.cloud.geminidataanalytics.v1beta.HTTPAuthSecurityScheme
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > HTTPAuthSecurityScheme.BuilderImplements
HTTPAuthSecuritySchemeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public HTTPAuthSecurityScheme build()| Returns | |
|---|---|
| Type | Description |
HTTPAuthSecurityScheme |
|
buildPartial()
public HTTPAuthSecurityScheme buildPartial()| Returns | |
|---|---|
| Type | Description |
HTTPAuthSecurityScheme |
|
clear()
public HTTPAuthSecurityScheme.Builder clear()| Returns | |
|---|---|
| Type | Description |
HTTPAuthSecurityScheme.Builder |
|
clearBearerFormat()
public HTTPAuthSecurityScheme.Builder clearBearerFormat()Optional. A hint to the client to identify how the bearer token is formatted.
string bearer_format = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
HTTPAuthSecurityScheme.Builder |
This builder for chaining. |
clearDescription()
public HTTPAuthSecurityScheme.Builder clearDescription()Optional. Description of this security scheme.
string description = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
HTTPAuthSecurityScheme.Builder |
This builder for chaining. |
clearScheme()
public HTTPAuthSecurityScheme.Builder clearScheme()Optional. The name of the HTTP Authentication scheme to be used in the Authorization header.
string scheme = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
HTTPAuthSecurityScheme.Builder |
This builder for chaining. |
getBearerFormat()
public String getBearerFormat()Optional. A hint to the client to identify how the bearer token is formatted.
string bearer_format = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The bearerFormat. |
getBearerFormatBytes()
public ByteString getBearerFormatBytes()Optional. A hint to the client to identify how the bearer token is formatted.
string bearer_format = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for bearerFormat. |
getDefaultInstanceForType()
public HTTPAuthSecurityScheme getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
HTTPAuthSecurityScheme |
|
getDescription()
public String getDescription()Optional. Description of this security scheme.
string description = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. Description of this security scheme.
string description = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getScheme()
public String getScheme()Optional. The name of the HTTP Authentication scheme to be used in the Authorization header.
string scheme = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The scheme. |
getSchemeBytes()
public ByteString getSchemeBytes()Optional. The name of the HTTP Authentication scheme to be used in the Authorization header.
string scheme = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for scheme. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(HTTPAuthSecurityScheme other)
public HTTPAuthSecurityScheme.Builder mergeFrom(HTTPAuthSecurityScheme other)| Parameter | |
|---|---|
| Name | Description |
other |
HTTPAuthSecurityScheme |
| Returns | |
|---|---|
| Type | Description |
HTTPAuthSecurityScheme.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HTTPAuthSecurityScheme.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HTTPAuthSecurityScheme.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public HTTPAuthSecurityScheme.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
HTTPAuthSecurityScheme.Builder |
|
setBearerFormat(String value)
public HTTPAuthSecurityScheme.Builder setBearerFormat(String value)Optional. A hint to the client to identify how the bearer token is formatted.
string bearer_format = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe bearerFormat to set. |
| Returns | |
|---|---|
| Type | Description |
HTTPAuthSecurityScheme.Builder |
This builder for chaining. |
setBearerFormatBytes(ByteString value)
public HTTPAuthSecurityScheme.Builder setBearerFormatBytes(ByteString value)Optional. A hint to the client to identify how the bearer token is formatted.
string bearer_format = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for bearerFormat to set. |
| Returns | |
|---|---|
| Type | Description |
HTTPAuthSecurityScheme.Builder |
This builder for chaining. |
setDescription(String value)
public HTTPAuthSecurityScheme.Builder setDescription(String value)Optional. Description of this security scheme.
string description = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
HTTPAuthSecurityScheme.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public HTTPAuthSecurityScheme.Builder setDescriptionBytes(ByteString value)Optional. Description of this security scheme.
string description = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
HTTPAuthSecurityScheme.Builder |
This builder for chaining. |
setScheme(String value)
public HTTPAuthSecurityScheme.Builder setScheme(String value)Optional. The name of the HTTP Authentication scheme to be used in the Authorization header.
string scheme = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe scheme to set. |
| Returns | |
|---|---|
| Type | Description |
HTTPAuthSecurityScheme.Builder |
This builder for chaining. |
setSchemeBytes(ByteString value)
public HTTPAuthSecurityScheme.Builder setSchemeBytes(ByteString value)Optional. The name of the HTTP Authentication scheme to be used in the Authorization header.
string scheme = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for scheme to set. |
| Returns | |
|---|---|
| Type | Description |
HTTPAuthSecurityScheme.Builder |
This builder for chaining. |