public final class GetLicenseRequest extends GeneratedMessageV3 implements GetLicenseRequestOrBuilder
A request message for Licenses.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetLicenseRequest
Static Fields
LICENSE_FIELD_NUMBER
public static final int LICENSE_FIELD_NUMBER
Field Value
PROJECT_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static GetLicenseRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static GetLicenseRequest.Builder newBuilder()
Returns
newBuilder(GetLicenseRequest prototype)
public static GetLicenseRequest.Builder newBuilder(GetLicenseRequest prototype)
Parameter
Returns
public static GetLicenseRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GetLicenseRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GetLicenseRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GetLicenseRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GetLicenseRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GetLicenseRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetLicenseRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GetLicenseRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetLicenseRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GetLicenseRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GetLicenseRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GetLicenseRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GetLicenseRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public GetLicenseRequest getDefaultInstanceForType()
Returns
getLicense()
public String getLicense()
Name of the License resource to return.
string license = 166757441 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The license.
|
getLicenseBytes()
public ByteString getLicenseBytes()
Name of the License resource to return.
string license = 166757441 [(.google.api.field_behavior) = REQUIRED];
Returns
getParserForType()
public Parser<GetLicenseRequest> getParserForType()
Returns
Overrides
getProject()
public String getProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The project.
|
getProjectBytes()
public ByteString getProjectBytes()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public GetLicenseRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GetLicenseRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public GetLicenseRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions