public final class GetServiceIdentityResponse extends GeneratedMessageV3 implements GetServiceIdentityResponseOrBuilder
Response message for getting service identity.
Protobuf type google.api.serviceusage.v1beta1.GetServiceIdentityResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GetServiceIdentityResponse.Builder newBuilder()
newBuilder(GetServiceIdentityResponse prototype)
public static GetServiceIdentityResponse.Builder newBuilder(GetServiceIdentityResponse prototype)
public static GetServiceIdentityResponse parseDelimitedFrom(InputStream input)
public static GetServiceIdentityResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GetServiceIdentityResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GetServiceIdentityResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GetServiceIdentityResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GetServiceIdentityResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GetServiceIdentityResponse parseFrom(CodedInputStream input)
public static GetServiceIdentityResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GetServiceIdentityResponse parseFrom(InputStream input)
public static GetServiceIdentityResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GetServiceIdentityResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GetServiceIdentityResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GetServiceIdentityResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public GetServiceIdentityResponse getDefaultInstanceForType()
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;
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;
getParserForType()
public Parser<GetServiceIdentityResponse> getParserForType()
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;
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()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GetServiceIdentityResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GetServiceIdentityResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public GetServiceIdentityResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides