Interface GetServiceIdentityResponseOrBuilder (2.31.0)

publicinterface GetServiceIdentityResponseOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getIdentity()

publicabstractServiceIdentitygetIdentity()

Service identity that service producer can use to access consumer resources. If exists is true, it contains email and unique_id. If exists is false, it contains pre-constructed email and empty unique_id.

.google.api.serviceusage.v1beta1.ServiceIdentity identity = 1;

Returns
Type Description
ServiceIdentity

The identity.

getIdentityOrBuilder()

publicabstractServiceIdentityOrBuildergetIdentityOrBuilder()

Service identity that service producer can use to access consumer resources. If exists is true, it contains email and unique_id. If exists is false, it contains pre-constructed email and empty unique_id.

.google.api.serviceusage.v1beta1.ServiceIdentity identity = 1;

Returns
Type Description
ServiceIdentityOrBuilder

getState()

publicabstractGetServiceIdentityResponse.IdentityStategetState()

Service identity state.

.google.api.serviceusage.v1beta1.GetServiceIdentityResponse.IdentityState state = 2;

Returns
Type Description
GetServiceIdentityResponse.IdentityState

The state.

getStateValue()

publicabstractintgetStateValue()

Service identity state.

.google.api.serviceusage.v1beta1.GetServiceIdentityResponse.IdentityState state = 2;

Returns
Type Description
int

The enum numeric value on the wire for state.

hasIdentity()

publicabstractbooleanhasIdentity()

Service identity that service producer can use to access consumer resources. If exists is true, it contains email and unique_id. If exists is false, it contains pre-constructed email and empty unique_id.

.google.api.serviceusage.v1beta1.ServiceIdentity identity = 1;

Returns
Type Description
boolean

Whether the identity field is set.

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年11月19日 UTC.