public static final class FetchStorageInventoryResponse.Builder extends GeneratedMessageV3.Builder<FetchStorageInventoryResponse.Builder> implements FetchStorageInventoryResponseOrBuilder
Response message for
fetchStorageInventory.
Protobuf type google.cloud.vmmigration.v1.FetchStorageInventoryResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllResources(Iterable<? extends SourceStorageResource> values)
public FetchStorageInventoryResponse.Builder addAllResources(Iterable<? extends SourceStorageResource> values)
The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.vmmigration.v1.SourceStorageResource>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FetchStorageInventoryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addResources(SourceStorageResource value)
public FetchStorageInventoryResponse.Builder addResources(SourceStorageResource value)
The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
addResources(SourceStorageResource.Builder builderForValue)
public FetchStorageInventoryResponse.Builder addResources(SourceStorageResource.Builder builderForValue)
The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
addResources(int index, SourceStorageResource value)
public FetchStorageInventoryResponse.Builder addResources(int index, SourceStorageResource value)
The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
addResources(int index, SourceStorageResource.Builder builderForValue)
public FetchStorageInventoryResponse.Builder addResources(int index, SourceStorageResource.Builder builderForValue)
The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
addResourcesBuilder()
public SourceStorageResource.Builder addResourcesBuilder()
The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
addResourcesBuilder(int index)
public SourceStorageResource.Builder addResourcesBuilder(int index)
The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public FetchStorageInventoryResponse build()
buildPartial()
public FetchStorageInventoryResponse buildPartial()
clear()
public FetchStorageInventoryResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FetchStorageInventoryResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public FetchStorageInventoryResponse.Builder clearNextPageToken()
Output only. A token, which can be sent as page_token
to retrieve the
next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearOneof(Descriptors.OneofDescriptor oneof)
public FetchStorageInventoryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearResources()
public FetchStorageInventoryResponse.Builder clearResources()
The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
clearUpdateTime()
public FetchStorageInventoryResponse.Builder clearUpdateTime()
Output only. The timestamp when the source was last queried (if the result
is from the cache).
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public FetchStorageInventoryResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public FetchStorageInventoryResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
Output only. A token, which can be sent as page_token
to retrieve the
next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Output only. A token, which can be sent as page_token
to retrieve the
next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getResources(int index)
public SourceStorageResource getResources(int index)
The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
Parameter |
Name |
Description |
index |
int
|
getResourcesBuilder(int index)
public SourceStorageResource.Builder getResourcesBuilder(int index)
The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
Parameter |
Name |
Description |
index |
int
|
getResourcesBuilderList()
public List<SourceStorageResource.Builder> getResourcesBuilderList()
The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
getResourcesCount()
public int getResourcesCount()
The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
Returns |
Type |
Description |
int |
|
getResourcesList()
public List<SourceStorageResource> getResourcesList()
The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
getResourcesOrBuilder(int index)
public SourceStorageResourceOrBuilder getResourcesOrBuilder(int index)
The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
Parameter |
Name |
Description |
index |
int
|
getResourcesOrBuilderList()
public List<? extends SourceStorageResourceOrBuilder> getResourcesOrBuilderList()
The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.vmmigration.v1.SourceStorageResourceOrBuilder> |
|
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The timestamp when the source was last queried (if the result
is from the cache).
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The timestamp when the source was last queried (if the result
is from the cache).
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp when the source was last queried (if the result
is from the cache).
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The timestamp when the source was last queried (if the result
is from the cache).
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FetchStorageInventoryResponse other)
public FetchStorageInventoryResponse.Builder mergeFrom(FetchStorageInventoryResponse other)
public FetchStorageInventoryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FetchStorageInventoryResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FetchStorageInventoryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateTime(Timestamp value)
public FetchStorageInventoryResponse.Builder mergeUpdateTime(Timestamp value)
Output only. The timestamp when the source was last queried (if the result
is from the cache).
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
removeResources(int index)
public FetchStorageInventoryResponse.Builder removeResources(int index)
The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public FetchStorageInventoryResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public FetchStorageInventoryResponse.Builder setNextPageToken(String value)
Output only. A token, which can be sent as page_token
to retrieve the
next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public FetchStorageInventoryResponse.Builder setNextPageTokenBytes(ByteString value)
Output only. A token, which can be sent as page_token
to retrieve the
next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FetchStorageInventoryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setResources(int index, SourceStorageResource value)
public FetchStorageInventoryResponse.Builder setResources(int index, SourceStorageResource value)
The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
setResources(int index, SourceStorageResource.Builder builderForValue)
public FetchStorageInventoryResponse.Builder setResources(int index, SourceStorageResource.Builder builderForValue)
The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final FetchStorageInventoryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateTime(Timestamp value)
public FetchStorageInventoryResponse.Builder setUpdateTime(Timestamp value)
Output only. The timestamp when the source was last queried (if the result
is from the cache).
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setUpdateTime(Timestamp.Builder builderForValue)
public FetchStorageInventoryResponse.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The timestamp when the source was last queried (if the result
is from the cache).
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
builderForValue |
Builder
|