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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateServiceIdentityRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GenerateServiceIdentityRequest build()
Returns
buildPartial()
public GenerateServiceIdentityRequest buildPartial()
Returns
clear()
public GenerateServiceIdentityRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GenerateServiceIdentityRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateServiceIdentityRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public GenerateServiceIdentityRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GenerateServiceIdentityRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Type | Description |
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GenerateServiceIdentityRequest other)
public GenerateServiceIdentityRequest.Builder mergeFrom(GenerateServiceIdentityRequest other)
Parameter
Returns
public GenerateServiceIdentityRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GenerateServiceIdentityRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateServiceIdentityRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateServiceIdentityRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | String
The parent to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateServiceIdentityRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateServiceIdentityRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides