Interface GetServiceIdentityResponseOrBuilder (2.48.0)

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
Type Description
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
Type Description
ServiceIdentityOrBuilder

getState()

public abstract GetServiceIdentityResponse.IdentityState getState()

Service identity state.

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

Returns
Type Description
GetServiceIdentityResponse.IdentityState

The state.

getStateValue()

public abstract int getStateValue()

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()

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
Type Description
boolean

Whether the identity field is set.