Class GenerateServiceIdentityRequest.Builder (2.83.0)

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

Request message for generating service identity.

Protobuf type google.api.serviceusage.v1beta1.GenerateServiceIdentityRequest

Static Methods

getDescriptor()

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

Methods

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

clearParent()

public GenerateServiceIdentityRequest.Builder clearParent()

Name of the consumer and service to generate an identity for.

The GenerateServiceIdentity methods currently support projects, folders, organizations.

Example parents would be: projects/123/services/example.googleapis.com folders/123/services/example.googleapis.com organizations/123/services/example.googleapis.com

string parent = 1;

Returns
Type Description
GenerateServiceIdentityRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GenerateServiceIdentityRequest getDefaultInstanceForType()
Returns
Type Description
GenerateServiceIdentityRequest

getDescriptorForType()

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

getParent()

public String getParent()

Name of the consumer and service to generate an identity for.

The GenerateServiceIdentity methods currently support projects, folders, organizations.

Example parents would be: projects/123/services/example.googleapis.com folders/123/services/example.googleapis.com organizations/123/services/example.googleapis.com

string parent = 1;

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Name of the consumer and service to generate an identity for.

The GenerateServiceIdentity methods currently support projects, folders, organizations.

Example parents would be: projects/123/services/example.googleapis.com folders/123/services/example.googleapis.com organizations/123/services/example.googleapis.com

string parent = 1;

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessage.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

setParent(String value)

public GenerateServiceIdentityRequest.Builder setParent(String value)

Name of the consumer and service to generate an identity for.

The GenerateServiceIdentity methods currently support projects, folders, organizations.

Example parents would be: projects/123/services/example.googleapis.com folders/123/services/example.googleapis.com organizations/123/services/example.googleapis.com

string parent = 1;

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)

Name of the consumer and service to generate an identity for.

The GenerateServiceIdentity methods currently support projects, folders, organizations.

Example parents would be: projects/123/services/example.googleapis.com folders/123/services/example.googleapis.com organizations/123/services/example.googleapis.com

string parent = 1;

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
GenerateServiceIdentityRequest.Builder

This builder for chaining.