Send feedback
Class OAuthCredentials.SecretBased (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class OAuthCredentials . SecretBased extends GeneratedMessageV3 implements OAuthCredentials . SecretBasedOrBuilder
The name of the secret containing the access token.
Represents secret-based OAuth credentials.
Protobuf type google.cloud.geminidataanalytics.v1beta.OAuthCredentials.SecretBased
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CLIENT_ID_FIELD_NUMBER
public static final int CLIENT_ID_FIELD_NUMBER
Field Value
Type
Description
int
CLIENT_SECRET_FIELD_NUMBER
public static final int CLIENT_SECRET_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static OAuthCredentials . SecretBased getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static OAuthCredentials . SecretBased . Builder newBuilder ()
newBuilder(OAuthCredentials.SecretBased prototype)
public static OAuthCredentials . SecretBased . Builder newBuilder ( OAuthCredentials . SecretBased prototype )
public static OAuthCredentials . SecretBased parseDelimitedFrom ( InputStream input )
public static OAuthCredentials . SecretBased parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static OAuthCredentials . SecretBased parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OAuthCredentials . SecretBased parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static OAuthCredentials . SecretBased parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OAuthCredentials . SecretBased parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static OAuthCredentials . SecretBased parseFrom ( CodedInputStream input )
public static OAuthCredentials . SecretBased parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static OAuthCredentials . SecretBased parseFrom ( InputStream input )
public static OAuthCredentials . SecretBased parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static OAuthCredentials . SecretBased parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OAuthCredentials . SecretBased parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<OAuthCredentials . SecretBased > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getClientId()
public String getClientId ()
Required. An OAuth client ID.
string client_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The clientId.
getClientIdBytes()
public ByteString getClientIdBytes ()
Required. An OAuth client ID.
string client_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for clientId.
getClientSecret()
public String getClientSecret ()
Required. An OAuth client secret.
string client_secret = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The clientSecret.
getClientSecretBytes()
public ByteString getClientSecretBytes ()
Required. An OAuth client secret.
string client_secret = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for clientSecret.
getDefaultInstanceForType()
public OAuthCredentials . SecretBased getDefaultInstanceForType ()
getParserForType()
public Parser<OAuthCredentials . SecretBased > getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public OAuthCredentials . SecretBased . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OAuthCredentials . SecretBased . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public OAuthCredentials . SecretBased . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,[]]