Class GenerateServiceIdentityResponse.Builder (2.48.0)

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

Response for GenerateServiceIdentity.

Protobuf type google.cloud.tpu.v2alpha1.GenerateServiceIdentityResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenerateServiceIdentityResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateServiceIdentityResponse.Builder
Overrides

build()

public GenerateServiceIdentityResponse build()
Returns
Type Description
GenerateServiceIdentityResponse

buildPartial()

public GenerateServiceIdentityResponse buildPartial()
Returns
Type Description
GenerateServiceIdentityResponse

clear()

public GenerateServiceIdentityResponse.Builder clear()
Returns
Type Description
GenerateServiceIdentityResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GenerateServiceIdentityResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GenerateServiceIdentityResponse.Builder
Overrides

clearIdentity()

public GenerateServiceIdentityResponse.Builder clearIdentity()

ServiceIdentity that was created or retrieved.

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

Returns
Type Description
GenerateServiceIdentityResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateServiceIdentityResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GenerateServiceIdentityResponse.Builder
Overrides

clone()

public GenerateServiceIdentityResponse.Builder clone()
Returns
Type Description
GenerateServiceIdentityResponse.Builder
Overrides

getDefaultInstanceForType()

public GenerateServiceIdentityResponse getDefaultInstanceForType()
Returns
Type Description
GenerateServiceIdentityResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIdentity()

public ServiceIdentity getIdentity()

ServiceIdentity that was created or retrieved.

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

Returns
Type Description
ServiceIdentity

The identity.

getIdentityBuilder()

public ServiceIdentity.Builder getIdentityBuilder()

ServiceIdentity that was created or retrieved.

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

Returns
Type Description
ServiceIdentity.Builder

getIdentityOrBuilder()

public ServiceIdentityOrBuilder getIdentityOrBuilder()

ServiceIdentity that was created or retrieved.

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

Returns
Type Description
ServiceIdentityOrBuilder

hasIdentity()

public boolean hasIdentity()

ServiceIdentity that was created or retrieved.

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

Returns
Type Description
boolean

Whether the identity field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateServiceIdentityResponse other)

public GenerateServiceIdentityResponse.Builder mergeFrom(GenerateServiceIdentityResponse other)
Parameter
Name Description
other GenerateServiceIdentityResponse
Returns
Type Description
GenerateServiceIdentityResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GenerateServiceIdentityResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateServiceIdentityResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GenerateServiceIdentityResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GenerateServiceIdentityResponse.Builder
Overrides

mergeIdentity(ServiceIdentity value)

public GenerateServiceIdentityResponse.Builder mergeIdentity(ServiceIdentity value)

ServiceIdentity that was created or retrieved.

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

Parameter
Name Description
value ServiceIdentity
Returns
Type Description
GenerateServiceIdentityResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateServiceIdentityResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateServiceIdentityResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateServiceIdentityResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateServiceIdentityResponse.Builder
Overrides

setIdentity(ServiceIdentity value)

public GenerateServiceIdentityResponse.Builder setIdentity(ServiceIdentity value)

ServiceIdentity that was created or retrieved.

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

Parameter
Name Description
value ServiceIdentity
Returns
Type Description
GenerateServiceIdentityResponse.Builder

setIdentity(ServiceIdentity.Builder builderForValue)

public GenerateServiceIdentityResponse.Builder setIdentity(ServiceIdentity.Builder builderForValue)

ServiceIdentity that was created or retrieved.

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

Parameter
Name Description
builderForValue ServiceIdentity.Builder
Returns
Type Description
GenerateServiceIdentityResponse.Builder

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

public GenerateServiceIdentityResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GenerateServiceIdentityResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateServiceIdentityResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateServiceIdentityResponse.Builder
Overrides