public static final class OAuthCredentials.TokenBased extends GeneratedMessage implements OAuthCredentials.TokenBasedOrBuilderRead more about Looker access tokens here: https://developers.looker.com/api/advanced-usage/looker-api-oauth
Protobuf type google.cloud.geminidataanalytics.v1beta.OAuthCredentials.TokenBased
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > OAuthCredentials.TokenBasedImplements
OAuthCredentials.TokenBasedOrBuilderStatic Fields
ACCESS_TOKEN_FIELD_NUMBER
public static final int ACCESS_TOKEN_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static OAuthCredentials.TokenBased getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
OAuthCredentials.TokenBased |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static OAuthCredentials.TokenBased.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
OAuthCredentials.TokenBased.Builder |
|
newBuilder(OAuthCredentials.TokenBased prototype)
public static OAuthCredentials.TokenBased.Builder newBuilder(OAuthCredentials.TokenBased prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
OAuthCredentials.TokenBased |
| Returns | |
|---|---|
| Type | Description |
OAuthCredentials.TokenBased.Builder |
|
parseDelimitedFrom(InputStream input)
public static OAuthCredentials.TokenBased parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
OAuthCredentials.TokenBased |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OAuthCredentials.TokenBased parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OAuthCredentials.TokenBased |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static OAuthCredentials.TokenBased parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
OAuthCredentials.TokenBased |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OAuthCredentials.TokenBased parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OAuthCredentials.TokenBased |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static OAuthCredentials.TokenBased parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
OAuthCredentials.TokenBased |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OAuthCredentials.TokenBased parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OAuthCredentials.TokenBased |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static OAuthCredentials.TokenBased parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
OAuthCredentials.TokenBased |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static OAuthCredentials.TokenBased parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OAuthCredentials.TokenBased |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static OAuthCredentials.TokenBased parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
OAuthCredentials.TokenBased |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OAuthCredentials.TokenBased parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OAuthCredentials.TokenBased |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static OAuthCredentials.TokenBased parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
OAuthCredentials.TokenBased |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OAuthCredentials.TokenBased parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OAuthCredentials.TokenBased |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<OAuthCredentials.TokenBased> parser()| Returns | |
|---|---|
| Type | Description |
Parser<TokenBased> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAccessToken()
public String getAccessToken()Required. The name of the secret containing the access token.
string access_token = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The accessToken. |
getAccessTokenBytes()
public ByteString getAccessTokenBytes()Required. The name of the secret containing the access token.
string access_token = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for accessToken. |
getDefaultInstanceForType()
public OAuthCredentials.TokenBased getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OAuthCredentials.TokenBased |
|
getParserForType()
public Parser<OAuthCredentials.TokenBased> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<TokenBased> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public OAuthCredentials.TokenBased.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
OAuthCredentials.TokenBased.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected OAuthCredentials.TokenBased.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
OAuthCredentials.TokenBased.Builder |
|
toBuilder()
public OAuthCredentials.TokenBased.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
OAuthCredentials.TokenBased.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|