public static final class GetReportRequest.Builder extends GeneratedMessage.Builder<GetReportRequest.Builder> implements GetReportRequestOrBuilderA request to get a Report.
Protobuf type google.cloud.migrationcenter.v1.GetReportRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetReportRequest.BuilderImplements
GetReportRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetReportRequest build()| Returns | |
|---|---|
| Type | Description |
GetReportRequest |
|
buildPartial()
public GetReportRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetReportRequest |
|
clear()
public GetReportRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetReportRequest.Builder |
|
clearName()
public GetReportRequest.Builder clearName()Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GetReportRequest.Builder |
This builder for chaining. |
clearView()
public GetReportRequest.Builder clearView()Determines what information to retrieve for the Report.
.google.cloud.migrationcenter.v1.ReportView view = 6;
| Returns | |
|---|---|
| Type | Description |
GetReportRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetReportRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetReportRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getView()
public ReportView getView()Determines what information to retrieve for the Report.
.google.cloud.migrationcenter.v1.ReportView view = 6;
| Returns | |
|---|---|
| Type | Description |
ReportView |
The view. |
getViewValue()
public int getViewValue()Determines what information to retrieve for the Report.
.google.cloud.migrationcenter.v1.ReportView view = 6;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for view. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetReportRequest other)
public GetReportRequest.Builder mergeFrom(GetReportRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetReportRequest |
| Returns | |
|---|---|
| Type | Description |
GetReportRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetReportRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetReportRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetReportRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetReportRequest.Builder |
|
setName(String value)
public GetReportRequest.Builder setName(String value)Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
GetReportRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GetReportRequest.Builder setNameBytes(ByteString value)Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
GetReportRequest.Builder |
This builder for chaining. |
setView(ReportView value)
public GetReportRequest.Builder setView(ReportView value)Determines what information to retrieve for the Report.
.google.cloud.migrationcenter.v1.ReportView view = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ReportViewThe view to set. |
| Returns | |
|---|---|
| Type | Description |
GetReportRequest.Builder |
This builder for chaining. |
setViewValue(int value)
public GetReportRequest.Builder setViewValue(int value)Determines what information to retrieve for the Report.
.google.cloud.migrationcenter.v1.ReportView view = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for view to set. |
| Returns | |
|---|---|
| Type | Description |
GetReportRequest.Builder |
This builder for chaining. |