public static final class FetchStorageInventoryResponse.Builder extends GeneratedMessage.Builder<FetchStorageInventoryResponse.Builder> implements FetchStorageInventoryResponseOrBuilderResponse message for fetchStorageInventory.
Protobuf type google.cloud.vmmigration.v1.FetchStorageInventoryResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchStorageInventoryResponse.BuilderImplements
FetchStorageInventoryResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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> |
| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
SourceStorageResource |
| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SourceStorageResource.Builder |
| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SourceStorageResource |
| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SourceStorageResource.Builder |
| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
|
addResourcesBuilder()
public SourceStorageResource.Builder addResourcesBuilder()The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
| Returns | |
|---|---|
| Type | Description |
SourceStorageResource.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
SourceStorageResource.Builder |
|
build()
public FetchStorageInventoryResponse build()| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse |
|
buildPartial()
public FetchStorageInventoryResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse |
|
clear()
public FetchStorageInventoryResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
This builder for chaining. |
clearResources()
public FetchStorageInventoryResponse.Builder clearResources()The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
|
getDefaultInstanceForType()
public FetchStorageInventoryResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
| Returns | |
|---|---|
| Type | Description |
SourceStorageResource |
|
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 |
| Returns | |
|---|---|
| Type | Description |
SourceStorageResource.Builder |
|
getResourcesBuilderList()
public List<SourceStorageResource.Builder> getResourcesBuilderList()The list of storage resources in the source.
repeated .google.cloud.vmmigration.v1.SourceStorageResource resources = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<SourceStorageResource> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
SourceStorageResourceOrBuilder |
|
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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FetchStorageInventoryResponse other)
public FetchStorageInventoryResponse.Builder mergeFrom(FetchStorageInventoryResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchStorageInventoryResponse |
| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchStorageInventoryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchStorageInventoryResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
|
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 |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
This builder for chaining. |
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SourceStorageResource |
| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SourceStorageResource.Builder |
| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
FetchStorageInventoryResponse.Builder |
|