Class AuthConfig.GoogleServiceAccountConfig (3.41.0)

public static final class AuthConfig.GoogleServiceAccountConfig extends GeneratedMessageV3 implements AuthConfig.GoogleServiceAccountConfigOrBuilder

Config for Google Service Account Authentication.

Protobuf type google.cloud.aiplatform.v1beta1.AuthConfig.GoogleServiceAccountConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AuthConfig.GoogleServiceAccountConfig

Static Fields

SERVICE_ACCOUNT_FIELD_NUMBER

public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AuthConfig.GoogleServiceAccountConfig getDefaultInstance()
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AuthConfig.GoogleServiceAccountConfig.Builder newBuilder()
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig.Builder

newBuilder(AuthConfig.GoogleServiceAccountConfig prototype)

public static AuthConfig.GoogleServiceAccountConfig.Builder newBuilder(AuthConfig.GoogleServiceAccountConfig prototype)
Parameter
NameDescription
prototypeAuthConfig.GoogleServiceAccountConfig
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig.Builder

parseDelimitedFrom(InputStream input)

public static AuthConfig.GoogleServiceAccountConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuthConfig.GoogleServiceAccountConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AuthConfig.GoogleServiceAccountConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AuthConfig.GoogleServiceAccountConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AuthConfig.GoogleServiceAccountConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AuthConfig.GoogleServiceAccountConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AuthConfig.GoogleServiceAccountConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AuthConfig.GoogleServiceAccountConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AuthConfig.GoogleServiceAccountConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuthConfig.GoogleServiceAccountConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AuthConfig.GoogleServiceAccountConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AuthConfig.GoogleServiceAccountConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AuthConfig.GoogleServiceAccountConfig> parser()
Returns
TypeDescription
Parser<GoogleServiceAccountConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AuthConfig.GoogleServiceAccountConfig getDefaultInstanceForType()
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig

getParserForType()

public Parser<AuthConfig.GoogleServiceAccountConfig> getParserForType()
Returns
TypeDescription
Parser<GoogleServiceAccountConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServiceAccount()

public String getServiceAccount()

Optional. The service account that the extension execution service runs as.

string service_account = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The serviceAccount.

getServiceAccountBytes()

public ByteString getServiceAccountBytes()

Optional. The service account that the extension execution service runs as.

string service_account = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for serviceAccount.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AuthConfig.GoogleServiceAccountConfig.Builder newBuilderForType()
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AuthConfig.GoogleServiceAccountConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AuthConfig.GoogleServiceAccountConfig.Builder toBuilder()
Returns
TypeDescription
AuthConfig.GoogleServiceAccountConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException