public static final class GetServiceIdentityResponse.Builder extends GeneratedMessageV3.Builder<GetServiceIdentityResponse.Builder> implements GetServiceIdentityResponseOrBuilder
Response message for getting service identity.
Protobuf type google.api.serviceusage.v1beta1.GetServiceIdentityResponse
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 GetServiceIdentityResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GetServiceIdentityResponse build()
buildPartial()
public GetServiceIdentityResponse buildPartial()
clear()
public GetServiceIdentityResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetServiceIdentityResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIdentity()
public GetServiceIdentityResponse.Builder clearIdentity()
Service identity that service producer can use to access consumer
resources. If exists is true, it contains email and unique_id. If exists is
false, it contains pre-constructed email and empty unique_id.
.google.api.serviceusage.v1beta1.ServiceIdentity identity = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public GetServiceIdentityResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearState()
public GetServiceIdentityResponse.Builder clearState()
Service identity state.
.google.api.serviceusage.v1beta1.GetServiceIdentityResponse.IdentityState state = 2;
clone()
public GetServiceIdentityResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public GetServiceIdentityResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getIdentity()
public ServiceIdentity getIdentity()
Service identity that service producer can use to access consumer
resources. If exists is true, it contains email and unique_id. If exists is
false, it contains pre-constructed email and empty unique_id.
.google.api.serviceusage.v1beta1.ServiceIdentity identity = 1;
getIdentityBuilder()
public ServiceIdentity.Builder getIdentityBuilder()
Service identity that service producer can use to access consumer
resources. If exists is true, it contains email and unique_id. If exists is
false, it contains pre-constructed email and empty unique_id.
.google.api.serviceusage.v1beta1.ServiceIdentity identity = 1;
getIdentityOrBuilder()
public ServiceIdentityOrBuilder getIdentityOrBuilder()
Service identity that service producer can use to access consumer
resources. If exists is true, it contains email and unique_id. If exists is
false, it contains pre-constructed email and empty unique_id.
.google.api.serviceusage.v1beta1.ServiceIdentity identity = 1;
getState()
public GetServiceIdentityResponse.IdentityState getState()
Service identity state.
.google.api.serviceusage.v1beta1.GetServiceIdentityResponse.IdentityState state = 2;
getStateValue()
public int getStateValue()
Service identity state.
.google.api.serviceusage.v1beta1.GetServiceIdentityResponse.IdentityState state = 2;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for state.
|
hasIdentity()
public boolean hasIdentity()
Service identity that service producer can use to access consumer
resources. If exists is true, it contains email and unique_id. If exists is
false, it contains pre-constructed email and empty unique_id.
.google.api.serviceusage.v1beta1.ServiceIdentity identity = 1;
Returns |
---|
Type | Description |
boolean | Whether the identity field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GetServiceIdentityResponse other)
public GetServiceIdentityResponse.Builder mergeFrom(GetServiceIdentityResponse other)
public GetServiceIdentityResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GetServiceIdentityResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeIdentity(ServiceIdentity value)
public GetServiceIdentityResponse.Builder mergeIdentity(ServiceIdentity value)
Service identity that service producer can use to access consumer
resources. If exists is true, it contains email and unique_id. If exists is
false, it contains pre-constructed email and empty unique_id.
.google.api.serviceusage.v1beta1.ServiceIdentity identity = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetServiceIdentityResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetServiceIdentityResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setIdentity(ServiceIdentity value)
public GetServiceIdentityResponse.Builder setIdentity(ServiceIdentity value)
Service identity that service producer can use to access consumer
resources. If exists is true, it contains email and unique_id. If exists is
false, it contains pre-constructed email and empty unique_id.
.google.api.serviceusage.v1beta1.ServiceIdentity identity = 1;
setIdentity(ServiceIdentity.Builder builderForValue)
public GetServiceIdentityResponse.Builder setIdentity(ServiceIdentity.Builder builderForValue)
Service identity that service producer can use to access consumer
resources. If exists is true, it contains email and unique_id. If exists is
false, it contains pre-constructed email and empty unique_id.
.google.api.serviceusage.v1beta1.ServiceIdentity identity = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetServiceIdentityResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setState(GetServiceIdentityResponse.IdentityState value)
public GetServiceIdentityResponse.Builder setState(GetServiceIdentityResponse.IdentityState value)
Service identity state.
.google.api.serviceusage.v1beta1.GetServiceIdentityResponse.IdentityState state = 2;
setStateValue(int value)
public GetServiceIdentityResponse.Builder setStateValue(int value)
Service identity state.
.google.api.serviceusage.v1beta1.GetServiceIdentityResponse.IdentityState state = 2;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for state to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final GetServiceIdentityResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides