Class GetServiceIdentityResponse (2.54.0)

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

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GetServiceIdentityResponse getDefaultInstance()
Returns
Type Description
GetServiceIdentityResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GetServiceIdentityResponse.Builder newBuilder()
Returns
Type Description
GetServiceIdentityResponse.Builder

newBuilder(GetServiceIdentityResponse prototype)

public static GetServiceIdentityResponse.Builder newBuilder(GetServiceIdentityResponse prototype)
Parameter
Name Description
prototype GetServiceIdentityResponse
Returns
Type Description
GetServiceIdentityResponse.Builder

parseDelimitedFrom(InputStream input)

public static GetServiceIdentityResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetServiceIdentityResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetServiceIdentityResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetServiceIdentityResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GetServiceIdentityResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GetServiceIdentityResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GetServiceIdentityResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetServiceIdentityResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GetServiceIdentityResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GetServiceIdentityResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GetServiceIdentityResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetServiceIdentityResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GetServiceIdentityResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GetServiceIdentityResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GetServiceIdentityResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetServiceIdentityResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GetServiceIdentityResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetServiceIdentityResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetServiceIdentityResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetServiceIdentityResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GetServiceIdentityResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GetServiceIdentityResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GetServiceIdentityResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetServiceIdentityResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GetServiceIdentityResponse> parser()
Returns
Type Description
Parser<GetServiceIdentityResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GetServiceIdentityResponse getDefaultInstanceForType()
Returns
Type Description
GetServiceIdentityResponse

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

The identity.

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

getParserForType()

public Parser<GetServiceIdentityResponse> getParserForType()
Returns
Type Description
Parser<GetServiceIdentityResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public GetServiceIdentityResponse.IdentityState getState()

Service identity state.

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

Returns
Type Description
GetServiceIdentityResponse.IdentityState

The state.

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.

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

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GetServiceIdentityResponse.Builder newBuilderForType()
Returns
Type Description
GetServiceIdentityResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GetServiceIdentityResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GetServiceIdentityResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GetServiceIdentityResponse.Builder toBuilder()
Returns
Type Description
GetServiceIdentityResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException