Class GetReportRequest.Builder (0.25.0)

public static final class GetReportRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetReportRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetReportRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public GetReportRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetReportRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetReportRequest.Builder
Overrides

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.

clone()

public GetReportRequest.Builder clone()
Returns
Type Description
GetReportRequest.Builder
Overrides

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetReportRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetReportRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetReportRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetReportRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetReportRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetReportRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetReportRequest.Builder
Overrides

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.