public final class GetServiceIdentityResponse extends GeneratedMessageV3 implements GetServiceIdentityResponseOrBuilder
Response message for getting service identity.
Protobuf type google.api.serviceusage.v1beta1.GetServiceIdentityResponse
Static Fields
IDENTITY_FIELD_NUMBER
public static final int IDENTITY_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static GetServiceIdentityResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static GetServiceIdentityResponse.Builder newBuilder()
Returns
newBuilder(GetServiceIdentityResponse prototype)
public static GetServiceIdentityResponse.Builder newBuilder(GetServiceIdentityResponse prototype)
Parameter
Returns
public static GetServiceIdentityResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GetServiceIdentityResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GetServiceIdentityResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GetServiceIdentityResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GetServiceIdentityResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GetServiceIdentityResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetServiceIdentityResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GetServiceIdentityResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetServiceIdentityResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GetServiceIdentityResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GetServiceIdentityResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GetServiceIdentityResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GetServiceIdentityResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public GetServiceIdentityResponse getDefaultInstanceForType()
Returns
getIdentity()
public 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
getIdentityOrBuilder()
public 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
getParserForType()
public Parser<GetServiceIdentityResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getState()
public GetServiceIdentityResponse.IdentityState getState()
Service identity state.
.google.api.serviceusage.v1beta1.GetServiceIdentityResponse.IdentityState state = 2;
Returns
getStateValue()
public 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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasIdentity()
public 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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public GetServiceIdentityResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GetServiceIdentityResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public GetServiceIdentityResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions