Class GenerateServiceIdentityResponse (2.23.0)

public final class GenerateServiceIdentityResponse extends GeneratedMessageV3 implements GenerateServiceIdentityResponseOrBuilder

Response for GenerateServiceIdentity.

Protobuf type google.cloud.tpu.v2alpha1.GenerateServiceIdentityResponse

Inheritance

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

Static Fields

IDENTITY_FIELD_NUMBER

public static final int IDENTITY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GenerateServiceIdentityResponse getDefaultInstance()
Returns
TypeDescription
GenerateServiceIdentityResponse

getDescriptor()

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

newBuilder()

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

newBuilder(GenerateServiceIdentityResponse prototype)

public static GenerateServiceIdentityResponse.Builder newBuilder(GenerateServiceIdentityResponse prototype)
Parameter
NameDescription
prototypeGenerateServiceIdentityResponse
Returns
TypeDescription
GenerateServiceIdentityResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GenerateServiceIdentityResponse getDefaultInstanceForType()
Returns
TypeDescription
GenerateServiceIdentityResponse

getIdentity()

public ServiceIdentity getIdentity()

ServiceIdentity that was created or retrieved.

.google.cloud.tpu.v2alpha1.ServiceIdentity identity = 1;

Returns
TypeDescription
ServiceIdentity

The identity.

getIdentityOrBuilder()

public ServiceIdentityOrBuilder getIdentityOrBuilder()

ServiceIdentity that was created or retrieved.

.google.cloud.tpu.v2alpha1.ServiceIdentity identity = 1;

Returns
TypeDescription
ServiceIdentityOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasIdentity()

public boolean hasIdentity()

ServiceIdentity that was created or retrieved.

.google.cloud.tpu.v2alpha1.ServiceIdentity identity = 1;

Returns
TypeDescription
boolean

Whether the identity field is set.

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 GenerateServiceIdentityResponse.Builder newBuilderForType()
Returns
TypeDescription
GenerateServiceIdentityResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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