Class GenerateServiceIdentityResponse.Builder (2.24.0)

public static final class GenerateServiceIdentityResponse.Builder extends GeneratedMessageV3.Builder<GenerateServiceIdentityResponse.Builder> implements GenerateServiceIdentityResponseOrBuilder

Response for GenerateServiceIdentity.

Protobuf type google.cloud.tpu.v2.GenerateServiceIdentityResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenerateServiceIdentityResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GenerateServiceIdentityResponse.Builder
Overrides

build()

public GenerateServiceIdentityResponse build()
Returns
TypeDescription
GenerateServiceIdentityResponse

buildPartial()

public GenerateServiceIdentityResponse buildPartial()
Returns
TypeDescription
GenerateServiceIdentityResponse

clear()

public GenerateServiceIdentityResponse.Builder clear()
Returns
TypeDescription
GenerateServiceIdentityResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GenerateServiceIdentityResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GenerateServiceIdentityResponse.Builder
Overrides

clearIdentity()

public GenerateServiceIdentityResponse.Builder clearIdentity()

ServiceIdentity that was created or retrieved.

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

Returns
TypeDescription
GenerateServiceIdentityResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateServiceIdentityResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GenerateServiceIdentityResponse.Builder
Overrides

clone()

public GenerateServiceIdentityResponse.Builder clone()
Returns
TypeDescription
GenerateServiceIdentityResponse.Builder
Overrides

getDefaultInstanceForType()

public GenerateServiceIdentityResponse getDefaultInstanceForType()
Returns
TypeDescription
GenerateServiceIdentityResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIdentity()

public ServiceIdentity getIdentity()

ServiceIdentity that was created or retrieved.

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

Returns
TypeDescription
ServiceIdentity

The identity.

getIdentityBuilder()

public ServiceIdentity.Builder getIdentityBuilder()

ServiceIdentity that was created or retrieved.

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

Returns
TypeDescription
ServiceIdentity.Builder

getIdentityOrBuilder()

public ServiceIdentityOrBuilder getIdentityOrBuilder()

ServiceIdentity that was created or retrieved.

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

Returns
TypeDescription
ServiceIdentityOrBuilder

hasIdentity()

public boolean hasIdentity()

ServiceIdentity that was created or retrieved.

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

Returns
TypeDescription
boolean

Whether the identity field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GenerateServiceIdentityResponse other)

public GenerateServiceIdentityResponse.Builder mergeFrom(GenerateServiceIdentityResponse other)
Parameter
NameDescription
otherGenerateServiceIdentityResponse
Returns
TypeDescription
GenerateServiceIdentityResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GenerateServiceIdentityResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateServiceIdentityResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GenerateServiceIdentityResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GenerateServiceIdentityResponse.Builder
Overrides

mergeIdentity(ServiceIdentity value)

public GenerateServiceIdentityResponse.Builder mergeIdentity(ServiceIdentity value)

ServiceIdentity that was created or retrieved.

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

Parameter
NameDescription
valueServiceIdentity
Returns
TypeDescription
GenerateServiceIdentityResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateServiceIdentityResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GenerateServiceIdentityResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateServiceIdentityResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GenerateServiceIdentityResponse.Builder
Overrides

setIdentity(ServiceIdentity value)

public GenerateServiceIdentityResponse.Builder setIdentity(ServiceIdentity value)

ServiceIdentity that was created or retrieved.

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

Parameter
NameDescription
valueServiceIdentity
Returns
TypeDescription
GenerateServiceIdentityResponse.Builder

setIdentity(ServiceIdentity.Builder builderForValue)

public GenerateServiceIdentityResponse.Builder setIdentity(ServiceIdentity.Builder builderForValue)

ServiceIdentity that was created or retrieved.

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

Parameter
NameDescription
builderForValueServiceIdentity.Builder
Returns
TypeDescription
GenerateServiceIdentityResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GenerateServiceIdentityResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GenerateServiceIdentityResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateServiceIdentityResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GenerateServiceIdentityResponse.Builder
Overrides