Class BackendServiceIAP (1.34.0)

public final class BackendServiceIAP extends GeneratedMessageV3 implements BackendServiceIAPOrBuilder

Identity-Aware Proxy

Protobuf type google.cloud.compute.v1.BackendServiceIAP

Static Fields

ENABLED_FIELD_NUMBER

public static final int ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

OAUTH2_CLIENT_ID_FIELD_NUMBER

public static final int OAUTH2_CLIENT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

OAUTH2_CLIENT_SECRET_FIELD_NUMBER

public static final int OAUTH2_CLIENT_SECRET_FIELD_NUMBER
Field Value
TypeDescription
int

OAUTH2_CLIENT_SECRET_SHA256_FIELD_NUMBER

public static final int OAUTH2_CLIENT_SECRET_SHA256_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BackendServiceIAP getDefaultInstance()
Returns
TypeDescription
BackendServiceIAP

getDescriptor()

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

newBuilder()

public static BackendServiceIAP.Builder newBuilder()
Returns
TypeDescription
BackendServiceIAP.Builder

newBuilder(BackendServiceIAP prototype)

public static BackendServiceIAP.Builder newBuilder(BackendServiceIAP prototype)
Parameter
NameDescription
prototypeBackendServiceIAP
Returns
TypeDescription
BackendServiceIAP.Builder

parseDelimitedFrom(InputStream input)

public static BackendServiceIAP parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BackendServiceIAP
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static BackendServiceIAP parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BackendServiceIAP
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static BackendServiceIAP parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BackendServiceIAP
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static BackendServiceIAP parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BackendServiceIAP
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static BackendServiceIAP parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BackendServiceIAP
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<BackendServiceIAP> parser()
Returns
TypeDescription
Parser<BackendServiceIAP>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BackendServiceIAP getDefaultInstanceForType()
Returns
TypeDescription
BackendServiceIAP

getEnabled()

public boolean getEnabled()

Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty.

optional bool enabled = 1018689;

Returns
TypeDescription
boolean

The enabled.

getOauth2ClientId()

public String getOauth2ClientId()

OAuth2 client ID to use for the authentication flow.

optional string oauth2_client_id = 314017611;

Returns
TypeDescription
String

The oauth2ClientId.

getOauth2ClientIdBytes()

public ByteString getOauth2ClientIdBytes()

OAuth2 client ID to use for the authentication flow.

optional string oauth2_client_id = 314017611;

Returns
TypeDescription
ByteString

The bytes for oauth2ClientId.

getOauth2ClientSecret()

public String getOauth2ClientSecret()

OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly

optional string oauth2_client_secret = 50999520;

Returns
TypeDescription
String

The oauth2ClientSecret.

getOauth2ClientSecretBytes()

public ByteString getOauth2ClientSecretBytes()

OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly

optional string oauth2_client_secret = 50999520;

Returns
TypeDescription
ByteString

The bytes for oauth2ClientSecret.

getOauth2ClientSecretSha256()

public String getOauth2ClientSecretSha256()

[Output Only] SHA256 hash value for the field oauth2_client_secret above.

optional string oauth2_client_secret_sha256 = 112903782;

Returns
TypeDescription
String

The oauth2ClientSecretSha256.

getOauth2ClientSecretSha256Bytes()

public ByteString getOauth2ClientSecretSha256Bytes()

[Output Only] SHA256 hash value for the field oauth2_client_secret above.

optional string oauth2_client_secret_sha256 = 112903782;

Returns
TypeDescription
ByteString

The bytes for oauth2ClientSecretSha256.

getParserForType()

public Parser<BackendServiceIAP> getParserForType()
Returns
TypeDescription
Parser<BackendServiceIAP>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasEnabled()

public boolean hasEnabled()

Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty.

optional bool enabled = 1018689;

Returns
TypeDescription
boolean

Whether the enabled field is set.

hasOauth2ClientId()

public boolean hasOauth2ClientId()

OAuth2 client ID to use for the authentication flow.

optional string oauth2_client_id = 314017611;

Returns
TypeDescription
boolean

Whether the oauth2ClientId field is set.

hasOauth2ClientSecret()

public boolean hasOauth2ClientSecret()

OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly

optional string oauth2_client_secret = 50999520;

Returns
TypeDescription
boolean

Whether the oauth2ClientSecret field is set.

hasOauth2ClientSecretSha256()

public boolean hasOauth2ClientSecretSha256()

[Output Only] SHA256 hash value for the field oauth2_client_secret above.

optional string oauth2_client_secret_sha256 = 112903782;

Returns
TypeDescription
boolean

Whether the oauth2ClientSecretSha256 field is set.

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 BackendServiceIAP.Builder newBuilderForType()
Returns
TypeDescription
BackendServiceIAP.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public BackendServiceIAP.Builder toBuilder()
Returns
TypeDescription
BackendServiceIAP.Builder

writeTo(CodedOutputStream output)

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