Class GetReportRequest.Builder (0.65.0)

public static final class GetReportRequest.Builder extends GeneratedMessage.Builder<GetReportRequest.Builder> implements GetReportRequestOrBuilder

A request to get a Report.

Protobuf type google.cloud.migrationcenter.v1.GetReportRequest

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetReportRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetReportRequest.Builder
Overrides

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 String

The 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 ByteString

The 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 ReportView

The 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 int

The enum numeric value on the wire for view to set.

Returns
Type Description
GetReportRequest.Builder

This builder for chaining.