Class GenerateServiceIdentityRequest (2.5.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static GenerateServiceIdentityRequest getDefaultInstance()
Returns
TypeDescription
GenerateServiceIdentityRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GenerateServiceIdentityRequest.Builder newBuilder()
Returns
TypeDescription
GenerateServiceIdentityRequest.Builder

newBuilder(GenerateServiceIdentityRequest prototype)

public static GenerateServiceIdentityRequest.Builder newBuilder(GenerateServiceIdentityRequest prototype)
Parameter
NameDescription
prototypeGenerateServiceIdentityRequest
Returns
TypeDescription
GenerateServiceIdentityRequest.Builder

parseDelimitedFrom(InputStream input)

public static GenerateServiceIdentityRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GenerateServiceIdentityRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateServiceIdentityRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateServiceIdentityRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GenerateServiceIdentityRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GenerateServiceIdentityRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenerateServiceIdentityRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateServiceIdentityRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenerateServiceIdentityRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GenerateServiceIdentityRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerateServiceIdentityRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateServiceIdentityRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerateServiceIdentityRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GenerateServiceIdentityRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateServiceIdentityRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateServiceIdentityRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GenerateServiceIdentityRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GenerateServiceIdentityRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateServiceIdentityRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateServiceIdentityRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GenerateServiceIdentityRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GenerateServiceIdentityRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerateServiceIdentityRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateServiceIdentityRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GenerateServiceIdentityRequest> parser()
Returns
TypeDescription
Parser<GenerateServiceIdentityRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public GenerateServiceIdentityRequest getDefaultInstanceForType()
Returns
TypeDescription
GenerateServiceIdentityRequest

getParent()

public String getParent()

Name of the consumer and service to generate an identity for. The GenerateServiceIdentity methods currently only support projects. An example name would be: projects/123/services/example.googleapis.com where 123 is the project number.

string parent = 1;

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Name of the consumer and service to generate an identity for. The GenerateServiceIdentity methods currently only support projects. An example name would be: projects/123/services/example.googleapis.com where 123 is the project number.

string parent = 1;

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<GenerateServiceIdentityRequest> getParserForType()
Returns
TypeDescription
Parser<GenerateServiceIdentityRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GenerateServiceIdentityRequest.Builder newBuilderForType()
Returns
TypeDescription
GenerateServiceIdentityRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GenerateServiceIdentityRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GenerateServiceIdentityRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GenerateServiceIdentityRequest.Builder toBuilder()
Returns
TypeDescription
GenerateServiceIdentityRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException