- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.5
- 1.2.0
- 1.1.1
- 1.0.5
public static final class FetchInventoryRequest.Builder extends GeneratedMessageV3.Builder<FetchInventoryRequest.Builder> implements FetchInventoryRequestOrBuilder
Request message for fetchInventory.
Protobuf type google.cloud.vmmigration.v1.FetchInventoryRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FetchInventoryRequest.BuilderImplements
FetchInventoryRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FetchInventoryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
FetchInventoryRequest.Builder |
build()
public FetchInventoryRequest build()
Returns | |
---|---|
Type | Description |
FetchInventoryRequest |
buildPartial()
public FetchInventoryRequest buildPartial()
Returns | |
---|---|
Type | Description |
FetchInventoryRequest |
clear()
public FetchInventoryRequest.Builder clear()
Returns | |
---|---|
Type | Description |
FetchInventoryRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public FetchInventoryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
FetchInventoryRequest.Builder |
clearForceRefresh()
public FetchInventoryRequest.Builder clearForceRefresh()
If this flag is set to true, the source will be queried instead of using cached results. Using this flag will make the call slower.
bool force_refresh = 2;
Returns | |
---|---|
Type | Description |
FetchInventoryRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public FetchInventoryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
FetchInventoryRequest.Builder |
clearSource()
public FetchInventoryRequest.Builder clearSource()
Required. The name of the Source.
string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
FetchInventoryRequest.Builder |
This builder for chaining. |
clone()
public FetchInventoryRequest.Builder clone()
Returns | |
---|---|
Type | Description |
FetchInventoryRequest.Builder |
getDefaultInstanceForType()
public FetchInventoryRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
FetchInventoryRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getForceRefresh()
public boolean getForceRefresh()
If this flag is set to true, the source will be queried instead of using cached results. Using this flag will make the call slower.
bool force_refresh = 2;
Returns | |
---|---|
Type | Description |
boolean |
The forceRefresh. |
getSource()
public String getSource()
Required. The name of the Source.
string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The source. |
getSourceBytes()
public ByteString getSourceBytes()
Required. The name of the Source.
string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for source. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(FetchInventoryRequest other)
public FetchInventoryRequest.Builder mergeFrom(FetchInventoryRequest other)
Parameter | |
---|---|
Name | Description |
other |
FetchInventoryRequest |
Returns | |
---|---|
Type | Description |
FetchInventoryRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchInventoryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FetchInventoryRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public FetchInventoryRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
FetchInventoryRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FetchInventoryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FetchInventoryRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public FetchInventoryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
FetchInventoryRequest.Builder |
setForceRefresh(boolean value)
public FetchInventoryRequest.Builder setForceRefresh(boolean value)
If this flag is set to true, the source will be queried instead of using cached results. Using this flag will make the call slower.
bool force_refresh = 2;
Parameter | |
---|---|
Name | Description |
value |
boolean The forceRefresh to set. |
Returns | |
---|---|
Type | Description |
FetchInventoryRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FetchInventoryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
FetchInventoryRequest.Builder |
setSource(String value)
public FetchInventoryRequest.Builder setSource(String value)
Required. The name of the Source.
string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The source to set. |
Returns | |
---|---|
Type | Description |
FetchInventoryRequest.Builder |
This builder for chaining. |
setSourceBytes(ByteString value)
public FetchInventoryRequest.Builder setSourceBytes(ByteString value)
Required. The name of the Source.
string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for source to set. |
Returns | |
---|---|
Type | Description |
FetchInventoryRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final FetchInventoryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FetchInventoryRequest.Builder |