Send feedback
Class ServiceIdentity.Builder (2.42.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.42.0 keyboard_arrow_down
public static final class ServiceIdentity . Builder extends GeneratedMessageV3 . Builder<ServiceIdentity . Builder > implements ServiceIdentityOrBuilder
Service identity for a service. This is the identity that service producer
should use to access consumer resources.
Protobuf type google.api.serviceusage.v1beta1.ServiceIdentity
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServiceIdentity . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ServiceIdentity build ()
buildPartial()
public ServiceIdentity buildPartial ()
clear()
public ServiceIdentity . Builder clear ()
Overrides
clearEmail()
public ServiceIdentity . Builder clearEmail ()
The email address of the service account that a service producer would use
to access consumer resources.
string email = 1;
clearField(Descriptors.FieldDescriptor field)
public ServiceIdentity . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ServiceIdentity . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearUniqueId()
public ServiceIdentity . Builder clearUniqueId ()
clone()
public ServiceIdentity . Builder clone ()
Overrides
getDefaultInstanceForType()
public ServiceIdentity getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getEmail()
The email address of the service account that a service producer would use
to access consumer resources.
string email = 1;
Returns
Type
Description
String
The email.
getEmailBytes()
public ByteString getEmailBytes ()
The email address of the service account that a service producer would use
to access consumer resources.
string email = 1;
Returns
Type
Description
ByteString
The bytes for email.
getUniqueId()
public String getUniqueId ()
Returns
Type
Description
String
The uniqueId.
getUniqueIdBytes()
public ByteString getUniqueIdBytes ()
Returns
Type
Description
ByteString
The bytes for uniqueId.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ServiceIdentity other)
public ServiceIdentity . Builder mergeFrom ( ServiceIdentity other )
public ServiceIdentity . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ServiceIdentity . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServiceIdentity . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setEmail(String value)
public ServiceIdentity . Builder setEmail ( String value )
The email address of the service account that a service producer would use
to access consumer resources.
string email = 1;
Parameter
Name
Description
value
String
The email to set.
setEmailBytes(ByteString value)
public ServiceIdentity . Builder setEmailBytes ( ByteString value )
The email address of the service account that a service producer would use
to access consumer resources.
string email = 1;
Parameter
Name
Description
value
ByteString
The bytes for email to set.
setField(Descriptors.FieldDescriptor field, Object value)
public ServiceIdentity . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServiceIdentity . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUniqueId(String value)
public ServiceIdentity . Builder setUniqueId ( String value )
Parameter
Name
Description
value
String
The uniqueId to set.
setUniqueIdBytes(ByteString value)
public ServiceIdentity . Builder setUniqueIdBytes ( ByteString value )
Parameter
Name
Description
value
ByteString
The bytes for uniqueId to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final ServiceIdentity . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]