public static final class GetServiceRequest.Builder extends GeneratedMessage.Builder<GetServiceRequest.Builder> implements GetServiceRequestOrBuilder Request message for the GetService method.
Protobuf type google.api.serviceusage.v1.GetServiceRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetServiceRequest.BuilderImplements
GetServiceRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetServiceRequest build()| Returns | |
|---|---|
| Type | Description |
GetServiceRequest |
|
buildPartial()
public GetServiceRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetServiceRequest |
|
clear()
public GetServiceRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetServiceRequest.Builder |
|
clearName()
public GetServiceRequest.Builder clearName() Name of the consumer and service to get the ConsumerState for.
An example name would be:
projects/123/services/serviceusage.googleapis.com where 123 is the
project number.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
GetServiceRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetServiceRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetServiceRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Name of the consumer and service to get the ConsumerState for.
An example name would be:
projects/123/services/serviceusage.googleapis.com where 123 is the
project number.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Name of the consumer and service to get the ConsumerState for.
An example name would be:
projects/123/services/serviceusage.googleapis.com where 123 is the
project number.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetServiceRequest other)
public GetServiceRequest.Builder mergeFrom(GetServiceRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetServiceRequest |
| Returns | |
|---|---|
| Type | Description |
GetServiceRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetServiceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetServiceRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetServiceRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetServiceRequest.Builder |
|
setName(String value)
public GetServiceRequest.Builder setName(String value) Name of the consumer and service to get the ConsumerState for.
An example name would be:
projects/123/services/serviceusage.googleapis.com where 123 is the
project number.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
GetServiceRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GetServiceRequest.Builder setNameBytes(ByteString value) Name of the consumer and service to get the ConsumerState for.
An example name would be:
projects/123/services/serviceusage.googleapis.com where 123 is the
project number.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
GetServiceRequest.Builder |
This builder for chaining. |