public final class GetServiceRequest extends GeneratedMessageV3 implements GetServiceRequestOrBuilder
Request message for the GetService
method.
Protobuf type google.api.serviceusage.v1beta1.GetServiceRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GetServiceRequestImplements
GetServiceRequestOrBuilderStatic Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static GetServiceRequest getDefaultInstance()
Type | Description |
GetServiceRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static GetServiceRequest.Builder newBuilder()
Type | Description |
GetServiceRequest.Builder |
newBuilder(GetServiceRequest prototype)
public static GetServiceRequest.Builder newBuilder(GetServiceRequest prototype)
Name | Description |
prototype | GetServiceRequest |
Type | Description |
GetServiceRequest.Builder |
parseDelimitedFrom(InputStream input)
public static GetServiceRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
GetServiceRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GetServiceRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetServiceRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static GetServiceRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
GetServiceRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GetServiceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetServiceRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static GetServiceRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
GetServiceRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GetServiceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetServiceRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static GetServiceRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
GetServiceRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GetServiceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetServiceRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static GetServiceRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
GetServiceRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GetServiceRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetServiceRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static GetServiceRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
GetServiceRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GetServiceRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetServiceRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<GetServiceRequest> parser()
Type | Description |
Parser<GetServiceRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public GetServiceRequest getDefaultInstanceForType()
Type | Description |
GetServiceRequest |
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 (not project ID).
string name = 1;
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 (not project ID).
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<GetServiceRequest> getParserForType()
Type | Description |
Parser<GetServiceRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public GetServiceRequest.Builder newBuilderForType()
Type | Description |
GetServiceRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GetServiceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
GetServiceRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public GetServiceRequest.Builder toBuilder()
Type | Description |
GetServiceRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |