Interface GetServiceIdentityResponseOrBuilder (2.2.7)

public interface GetServiceIdentityResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIdentity()

public abstract ServiceIdentity getIdentity()

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
TypeDescription
ServiceIdentity

The identity.

getIdentityOrBuilder()

public abstract ServiceIdentityOrBuilder getIdentityOrBuilder()

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
TypeDescription
ServiceIdentityOrBuilder

getState()

public abstract GetServiceIdentityResponse.IdentityState getState()

Service identity state.

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

Returns
TypeDescription
GetServiceIdentityResponse.IdentityState

The state.

getStateValue()

public abstract int getStateValue()

Service identity state.

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

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hasIdentity()

public abstract boolean hasIdentity()

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
TypeDescription
boolean

Whether the identity field is set.