Class Binding.AuthProviderBinding (0.2.0)

public static final class Binding.AuthProviderBinding extends GeneratedMessage implements Binding.AuthProviderBindingOrBuilder

The AuthProvider of the Binding.

Protobuf type google.cloud.agentregistry.v1.Binding.AuthProviderBinding

Static Fields

AUTH_PROVIDER_FIELD_NUMBER

public static final int AUTH_PROVIDER_FIELD_NUMBER
Field Value
Type Description
int

CONTINUE_URI_FIELD_NUMBER

public static final int CONTINUE_URI_FIELD_NUMBER
Field Value
Type Description
int

SCOPES_FIELD_NUMBER

public static final int SCOPES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Binding.AuthProviderBinding getDefaultInstance()
Returns
Type Description
Binding.AuthProviderBinding

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Binding.AuthProviderBinding.Builder newBuilder()
Returns
Type Description
Binding.AuthProviderBinding.Builder

newBuilder(Binding.AuthProviderBinding prototype)

public static Binding.AuthProviderBinding.Builder newBuilder(Binding.AuthProviderBinding prototype)
Parameter
Name Description
prototype Binding.AuthProviderBinding
Returns
Type Description
Binding.AuthProviderBinding.Builder

parseDelimitedFrom(InputStream input)

public static Binding.AuthProviderBinding parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Binding.AuthProviderBinding
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Binding.AuthProviderBinding parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Binding.AuthProviderBinding
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Binding.AuthProviderBinding parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Binding.AuthProviderBinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Binding.AuthProviderBinding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Binding.AuthProviderBinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Binding.AuthProviderBinding parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Binding.AuthProviderBinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Binding.AuthProviderBinding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Binding.AuthProviderBinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Binding.AuthProviderBinding parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Binding.AuthProviderBinding
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Binding.AuthProviderBinding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Binding.AuthProviderBinding
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Binding.AuthProviderBinding parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Binding.AuthProviderBinding
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Binding.AuthProviderBinding parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Binding.AuthProviderBinding
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Binding.AuthProviderBinding parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Binding.AuthProviderBinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Binding.AuthProviderBinding parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Binding.AuthProviderBinding
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Binding.AuthProviderBinding> parser()
Returns
Type Description
Parser<AuthProviderBinding>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAuthProvider()

public String getAuthProvider()

Required. The resource name of the target AuthProvider. Format:

  • projects/{project}/locations/{location}/authProviders/{auth_provider}

string auth_provider = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The authProvider.

getAuthProviderBytes()

public ByteString getAuthProviderBytes()

Required. The resource name of the target AuthProvider. Format:

  • projects/{project}/locations/{location}/authProviders/{auth_provider}

string auth_provider = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for authProvider.

getContinueUri()

public String getContinueUri()

Optional. The continue URI of the AuthProvider. The URI is used to reauthenticate the user and finalize the managed OAuth flow.

string continue_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The continueUri.

getContinueUriBytes()

public ByteString getContinueUriBytes()

Optional. The continue URI of the AuthProvider. The URI is used to reauthenticate the user and finalize the managed OAuth flow.

string continue_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for continueUri.

getDefaultInstanceForType()

public Binding.AuthProviderBinding getDefaultInstanceForType()
Returns
Type Description
Binding.AuthProviderBinding

getParserForType()

public Parser<Binding.AuthProviderBinding> getParserForType()
Returns
Type Description
Parser<AuthProviderBinding>
Overrides

getScopes(int index)

public String getScopes(int index)

Optional. The list of OAuth2 scopes of the AuthProvider.

repeated string scopes = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The scopes at the given index.

getScopesBytes(int index)

public ByteString getScopesBytes(int index)

Optional. The list of OAuth2 scopes of the AuthProvider.

repeated string scopes = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the scopes at the given index.

getScopesCount()

public int getScopesCount()

Optional. The list of OAuth2 scopes of the AuthProvider.

repeated string scopes = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of scopes.

getScopesList()

public ProtocolStringList getScopesList()

Optional. The list of OAuth2 scopes of the AuthProvider.

repeated string scopes = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the scopes.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Binding.AuthProviderBinding.Builder newBuilderForType()
Returns
Type Description
Binding.AuthProviderBinding.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Binding.AuthProviderBinding.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Binding.AuthProviderBinding.Builder
Overrides

toBuilder()

public Binding.AuthProviderBinding.Builder toBuilder()
Returns
Type Description
Binding.AuthProviderBinding.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException