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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetServiceIdentityResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetServiceIdentityResponse build()
Returns
buildPartial()
public GetServiceIdentityResponse buildPartial()
Returns
clear()
public GetServiceIdentityResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetServiceIdentityResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GetServiceIdentityResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearState()
public GetServiceIdentityResponse.Builder clearState()
Service identity state.
.google.api.serviceusage.v1beta1.GetServiceIdentityResponse.IdentityState state = 2;
Returns
clone()
public GetServiceIdentityResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetServiceIdentityResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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;
Returns
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;
Returns
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;
Returns
getState()
public GetServiceIdentityResponse.IdentityState getState()
Service identity state.
.google.api.serviceusage.v1beta1.GetServiceIdentityResponse.IdentityState state = 2;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetServiceIdentityResponse other)
public GetServiceIdentityResponse.Builder mergeFrom(GetServiceIdentityResponse other)
Parameter
Returns
public GetServiceIdentityResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetServiceIdentityResponse.Builder mergeFrom(Message other)
Parameter
Returns
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetServiceIdentityResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetServiceIdentityResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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;
Parameter
Returns
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;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetServiceIdentityResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setState(GetServiceIdentityResponse.IdentityState value)
public GetServiceIdentityResponse.Builder setState(GetServiceIdentityResponse.IdentityState value)
Service identity state.
.google.api.serviceusage.v1beta1.GetServiceIdentityResponse.IdentityState state = 2;
Parameter
Returns
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.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final GetServiceIdentityResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides