public static final class GetLicenseRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetLicenseRequest.Builder> implements GetLicenseRequestOrBuilder
A request message for Licenses.Get. See the method description for details.Protobuf type
google.cloud.compute.v1.GetLicenseRequest| Modifier and Type | Method and Description |
|---|---|
GetLicenseRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GetLicenseRequest |
build() |
GetLicenseRequest |
buildPartial() |
GetLicenseRequest.Builder |
clear() |
GetLicenseRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GetLicenseRequest.Builder |
clearLicense()
Name of the License resource to return.
|
GetLicenseRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GetLicenseRequest.Builder |
clearProject()
Project ID for this request.
|
GetLicenseRequest.Builder |
clone() |
GetLicenseRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getLicense()
Name of the License resource to return.
|
com.google.protobuf.ByteString |
getLicenseBytes()
Name of the License resource to return.
|
String |
getProject()
Project ID for this request.
|
com.google.protobuf.ByteString |
getProjectBytes()
Project ID for this request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GetLicenseRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GetLicenseRequest.Builder |
mergeFrom(GetLicenseRequest other) |
GetLicenseRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
GetLicenseRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GetLicenseRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GetLicenseRequest.Builder |
setLicense(String value)
Name of the License resource to return.
|
GetLicenseRequest.Builder |
setLicenseBytes(com.google.protobuf.ByteString value)
Name of the License resource to return.
|
GetLicenseRequest.Builder |
setProject(String value)
Project ID for this request.
|
GetLicenseRequest.Builder |
setProjectBytes(com.google.protobuf.ByteString value)
Project ID for this request.
|
GetLicenseRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GetLicenseRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GetLicenseRequest.Builder>public GetLicenseRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GetLicenseRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GetLicenseRequest.Builder>public GetLicenseRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GetLicenseRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GetLicenseRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GetLicenseRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GetLicenseRequest.Builder>public GetLicenseRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<GetLicenseRequest.Builder>public GetLicenseRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GetLicenseRequest.Builder>public GetLicenseRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GetLicenseRequest.Builder>public GetLicenseRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetLicenseRequest.Builder>public GetLicenseRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetLicenseRequest.Builder>public GetLicenseRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetLicenseRequest.Builder>public GetLicenseRequest.Builder mergeFrom(GetLicenseRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GetLicenseRequest.Builder>public GetLicenseRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetLicenseRequest.Builder>IOExceptionpublic String getLicense()
Name of the License resource to return.
string license = 166757441 [(.google.api.field_behavior) = REQUIRED];getLicense in interface GetLicenseRequestOrBuilderpublic com.google.protobuf.ByteString getLicenseBytes()
Name of the License resource to return.
string license = 166757441 [(.google.api.field_behavior) = REQUIRED];getLicenseBytes in interface GetLicenseRequestOrBuilderpublic GetLicenseRequest.Builder setLicense(String value)
Name of the License resource to return.
string license = 166757441 [(.google.api.field_behavior) = REQUIRED];value - The license to set.public GetLicenseRequest.Builder clearLicense()
Name of the License resource to return.
string license = 166757441 [(.google.api.field_behavior) = REQUIRED];public GetLicenseRequest.Builder setLicenseBytes(com.google.protobuf.ByteString value)
Name of the License resource to return.
string license = 166757441 [(.google.api.field_behavior) = REQUIRED];value - The bytes for license to set.public String getProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];getProject in interface GetLicenseRequestOrBuilderpublic com.google.protobuf.ByteString getProjectBytes()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];getProjectBytes in interface GetLicenseRequestOrBuilderpublic GetLicenseRequest.Builder setProject(String value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];value - The project to set.public GetLicenseRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];public GetLicenseRequest.Builder setProjectBytes(com.google.protobuf.ByteString value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];value - The bytes for project to set.public final GetLicenseRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetLicenseRequest.Builder>public final GetLicenseRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetLicenseRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.