Class GetReportRequest.Builder (0.9.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetReportRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetReportRequest.Builder
Overrides

build()

public GetReportRequest build()
Returns
TypeDescription
GetReportRequest

buildPartial()

public GetReportRequest buildPartial()
Returns
TypeDescription
GetReportRequest

clear()

public GetReportRequest.Builder clear()
Returns
TypeDescription
GetReportRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetReportRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetReportRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetReportRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetReportRequest.Builder
Overrides

clearView()

public GetReportRequest.Builder clearView()

Determines what information to retrieve for the Report.

.google.cloud.migrationcenter.v1.ReportView view = 6;

Returns
TypeDescription
GetReportRequest.Builder

This builder for chaining.

clone()

public GetReportRequest.Builder clone()
Returns
TypeDescription
GetReportRequest.Builder
Overrides

getDefaultInstanceForType()

public GetReportRequest getDefaultInstanceForType()
Returns
TypeDescription
GetReportRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Name of the resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ReportView

The view.

getViewValue()

public int getViewValue()

Determines what information to retrieve for the Report.

.google.cloud.migrationcenter.v1.ReportView view = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetReportRequest other)

public GetReportRequest.Builder mergeFrom(GetReportRequest other)
Parameter
NameDescription
otherGetReportRequest
Returns
TypeDescription
GetReportRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetReportRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetReportRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetReportRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetReportRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetReportRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetReportRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetReportRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetReportRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetReportRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueReportView

The view to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
GetReportRequest.Builder

This builder for chaining.