Class GenerateServiceIdentityRequest.Builder (2.56.0)

public static final class GenerateServiceIdentityRequest.Builder extends GeneratedMessageV3.Builder<GenerateServiceIdentityRequest.Builder> implements GenerateServiceIdentityRequestOrBuilder

Request for GenerateServiceIdentity.

Protobuf type google.cloud.tpu.v2.GenerateServiceIdentityRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateServiceIdentityRequest build()
Returns
Type Description
GenerateServiceIdentityRequest

buildPartial()

public GenerateServiceIdentityRequest buildPartial()
Returns
Type Description
GenerateServiceIdentityRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public GenerateServiceIdentityRequest.Builder clearParent()

Required. The parent resource name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GenerateServiceIdentityRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GenerateServiceIdentityRequest getDefaultInstanceForType()
Returns
Type Description
GenerateServiceIdentityRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent resource name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateServiceIdentityRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public GenerateServiceIdentityRequest.Builder setParent(String value)

Required. The parent resource name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
GenerateServiceIdentityRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public GenerateServiceIdentityRequest.Builder setParentBytes(ByteString value)

Required. The parent resource name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
GenerateServiceIdentityRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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