Class GenerateServiceIdentityRequest.Builder (2.22.0)

public static final class GenerateServiceIdentityRequest.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateServiceIdentityRequest build()
Returns
TypeDescription
GenerateServiceIdentityRequest

buildPartial()

public GenerateServiceIdentityRequest buildPartial()
Returns
TypeDescription
GenerateServiceIdentityRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public GenerateServiceIdentityRequest.Builder clearParent()

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

The GenerateServiceIdentity methods currently only support projects.

An example name would be: projects/123/services/example.googleapis.com where 123 is the project number.

string parent = 1;

Returns
TypeDescription
GenerateServiceIdentityRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GenerateServiceIdentityRequest getDefaultInstanceForType()
Returns
TypeDescription
GenerateServiceIdentityRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

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

The GenerateServiceIdentity methods currently only support projects.

An example name would be: projects/123/services/example.googleapis.com where 123 is the project number.

string parent = 1;

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

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

The GenerateServiceIdentity methods currently only support projects.

An example name would be: projects/123/services/example.googleapis.com where 123 is the project number.

string parent = 1;

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GenerateServiceIdentityRequest other)

public GenerateServiceIdentityRequest.Builder mergeFrom(GenerateServiceIdentityRequest other)
Parameter
NameDescription
otherGenerateServiceIdentityRequest
Returns
TypeDescription
GenerateServiceIdentityRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateServiceIdentityRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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 only support projects.

An example name would be: projects/123/services/example.googleapis.com where 123 is the project number.

string parent = 1;

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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 only support projects.

An example name would be: projects/123/services/example.googleapis.com where 123 is the project number.

string parent = 1;

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GenerateServiceIdentityRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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