Class GenerateServiceIdentityRequest (2.55.0)

public final class GenerateServiceIdentityRequest extends GeneratedMessageV3 implements GenerateServiceIdentityRequestOrBuilder

Request message for generating service identity.

Protobuf type google.api.serviceusage.v1beta1.GenerateServiceIdentityRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GenerateServiceIdentityRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GenerateServiceIdentityRequest getDefaultInstance()
Returns
Type Description
GenerateServiceIdentityRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GenerateServiceIdentityRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GenerateServiceIdentityRequest getDefaultInstanceForType()
Returns
Type Description
GenerateServiceIdentityRequest

getParent()

public String getParent()

Name of the consumer and service to generate an identity for.

The GenerateServiceIdentity methods currently support projects, folders, organizations.

Example parents would be: projects/123/services/example.googleapis.com folders/123/services/example.googleapis.com organizations/123/services/example.googleapis.com

string parent = 1;

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Name of the consumer and service to generate an identity for.

The GenerateServiceIdentity methods currently support projects, folders, organizations.

Example parents would be: projects/123/services/example.googleapis.com folders/123/services/example.googleapis.com organizations/123/services/example.googleapis.com

string parent = 1;

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 GenerateServiceIdentityRequest.Builder newBuilderForType()
Returns
Type Description
GenerateServiceIdentityRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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