Interface GetServiceIdentityResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetServiceIdentityResponse,GetServiceIdentityResponse.Builder
@Generated
public interface GetServiceIdentityResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionService identity that service producer can use to access consumer resources.Service identity that service producer can use to access consumer resources.getState()Service identity state.intService identity state.booleanService identity that service producer can use to access consumer resources.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasIdentity
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:
- Whether the identity field is set.
-
getIdentity
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:
- The identity.
-
getIdentityOrBuilder
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; -
getStateValue
int getStateValue()Service identity state.
.google.api.serviceusage.v1beta1.GetServiceIdentityResponse.IdentityState state = 2;- Returns:
- The enum numeric value on the wire for state.
-
getState
GetServiceIdentityResponse.IdentityState getState()Service identity state.
.google.api.serviceusage.v1beta1.GetServiceIdentityResponse.IdentityState state = 2;- Returns:
- The state.
-