Class GenerateConfigReportResponse.Builder (3.34.0)

public static final class GenerateConfigReportResponse.Builder extends GeneratedMessageV3.Builder<GenerateConfigReportResponse.Builder> implements GenerateConfigReportResponseOrBuilder

Response message for GenerateConfigReport method.

Protobuf type google.api.servicemanagement.v1.GenerateConfigReportResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllChangeReports(Iterable<? extends ChangeReport> values)

public GenerateConfigReportResponse.Builder addAllChangeReports(Iterable<? extends ChangeReport> values)

list of ChangeReport, each corresponding to comparison between two service configurations.

repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.api.servicemanagement.v1.ChangeReport>
Returns
TypeDescription
GenerateConfigReportResponse.Builder

addAllDiagnostics(Iterable<? extends Diagnostic> values)

public GenerateConfigReportResponse.Builder addAllDiagnostics(Iterable<? extends Diagnostic> values)

Errors / Linter warnings associated with the service definition this report belongs to.

repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.api.servicemanagement.v1.Diagnostic>
Returns
TypeDescription
GenerateConfigReportResponse.Builder

addChangeReports(ChangeReport value)

public GenerateConfigReportResponse.Builder addChangeReports(ChangeReport value)

list of ChangeReport, each corresponding to comparison between two service configurations.

repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;

Parameter
NameDescription
valueChangeReport
Returns
TypeDescription
GenerateConfigReportResponse.Builder

addChangeReports(ChangeReport.Builder builderForValue)

public GenerateConfigReportResponse.Builder addChangeReports(ChangeReport.Builder builderForValue)

list of ChangeReport, each corresponding to comparison between two service configurations.

repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;

Parameter
NameDescription
builderForValueChangeReport.Builder
Returns
TypeDescription
GenerateConfigReportResponse.Builder

addChangeReports(int index, ChangeReport value)

public GenerateConfigReportResponse.Builder addChangeReports(int index, ChangeReport value)

list of ChangeReport, each corresponding to comparison between two service configurations.

repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;

Parameters
NameDescription
indexint
valueChangeReport
Returns
TypeDescription
GenerateConfigReportResponse.Builder

addChangeReports(int index, ChangeReport.Builder builderForValue)

public GenerateConfigReportResponse.Builder addChangeReports(int index, ChangeReport.Builder builderForValue)

list of ChangeReport, each corresponding to comparison between two service configurations.

repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;

Parameters
NameDescription
indexint
builderForValueChangeReport.Builder
Returns
TypeDescription
GenerateConfigReportResponse.Builder

addChangeReportsBuilder()

public ChangeReport.Builder addChangeReportsBuilder()

list of ChangeReport, each corresponding to comparison between two service configurations.

repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;

Returns
TypeDescription
ChangeReport.Builder

addChangeReportsBuilder(int index)

public ChangeReport.Builder addChangeReportsBuilder(int index)

list of ChangeReport, each corresponding to comparison between two service configurations.

repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ChangeReport.Builder

addDiagnostics(Diagnostic value)

public GenerateConfigReportResponse.Builder addDiagnostics(Diagnostic value)

Errors / Linter warnings associated with the service definition this report belongs to.

repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;

Parameter
NameDescription
valueDiagnostic
Returns
TypeDescription
GenerateConfigReportResponse.Builder

addDiagnostics(Diagnostic.Builder builderForValue)

public GenerateConfigReportResponse.Builder addDiagnostics(Diagnostic.Builder builderForValue)

Errors / Linter warnings associated with the service definition this report belongs to.

repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;

Parameter
NameDescription
builderForValueDiagnostic.Builder
Returns
TypeDescription
GenerateConfigReportResponse.Builder

addDiagnostics(int index, Diagnostic value)

public GenerateConfigReportResponse.Builder addDiagnostics(int index, Diagnostic value)

Errors / Linter warnings associated with the service definition this report belongs to.

repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;

Parameters
NameDescription
indexint
valueDiagnostic
Returns
TypeDescription
GenerateConfigReportResponse.Builder

addDiagnostics(int index, Diagnostic.Builder builderForValue)

public GenerateConfigReportResponse.Builder addDiagnostics(int index, Diagnostic.Builder builderForValue)

Errors / Linter warnings associated with the service definition this report belongs to.

repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;

Parameters
NameDescription
indexint
builderForValueDiagnostic.Builder
Returns
TypeDescription
GenerateConfigReportResponse.Builder

addDiagnosticsBuilder()

public Diagnostic.Builder addDiagnosticsBuilder()

Errors / Linter warnings associated with the service definition this report belongs to.

repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;

Returns
TypeDescription
Diagnostic.Builder

addDiagnosticsBuilder(int index)

public Diagnostic.Builder addDiagnosticsBuilder(int index)

Errors / Linter warnings associated with the service definition this report belongs to.

repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Diagnostic.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateConfigReportResponse build()
Returns
TypeDescription
GenerateConfigReportResponse

buildPartial()

public GenerateConfigReportResponse buildPartial()
Returns
TypeDescription
GenerateConfigReportResponse

clear()

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

clearChangeReports()

public GenerateConfigReportResponse.Builder clearChangeReports()

list of ChangeReport, each corresponding to comparison between two service configurations.

repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;

Returns
TypeDescription
GenerateConfigReportResponse.Builder

clearDiagnostics()

public GenerateConfigReportResponse.Builder clearDiagnostics()

Errors / Linter warnings associated with the service definition this report belongs to.

repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;

Returns
TypeDescription
GenerateConfigReportResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public GenerateConfigReportResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GenerateConfigReportResponse.Builder
Overrides

clearId()

public GenerateConfigReportResponse.Builder clearId()

ID of the service configuration this report belongs to.

string id = 2;

Returns
TypeDescription
GenerateConfigReportResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceName()

public GenerateConfigReportResponse.Builder clearServiceName()

Name of the service this report belongs to.

string service_name = 1;

Returns
TypeDescription
GenerateConfigReportResponse.Builder

This builder for chaining.

clone()

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

getChangeReports(int index)

public ChangeReport getChangeReports(int index)

list of ChangeReport, each corresponding to comparison between two service configurations.

repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ChangeReport

getChangeReportsBuilder(int index)

public ChangeReport.Builder getChangeReportsBuilder(int index)

list of ChangeReport, each corresponding to comparison between two service configurations.

repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ChangeReport.Builder

getChangeReportsBuilderList()

public List<ChangeReport.Builder> getChangeReportsBuilderList()

list of ChangeReport, each corresponding to comparison between two service configurations.

repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;

Returns
TypeDescription
List<Builder>

getChangeReportsCount()

public int getChangeReportsCount()

list of ChangeReport, each corresponding to comparison between two service configurations.

repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;

Returns
TypeDescription
int

getChangeReportsList()

public List<ChangeReport> getChangeReportsList()

list of ChangeReport, each corresponding to comparison between two service configurations.

repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;

Returns
TypeDescription
List<ChangeReport>

getChangeReportsOrBuilder(int index)

public ChangeReportOrBuilder getChangeReportsOrBuilder(int index)

list of ChangeReport, each corresponding to comparison between two service configurations.

repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ChangeReportOrBuilder

getChangeReportsOrBuilderList()

public List<? extends ChangeReportOrBuilder> getChangeReportsOrBuilderList()

list of ChangeReport, each corresponding to comparison between two service configurations.

repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;

Returns
TypeDescription
List<? extends com.google.api.servicemanagement.v1.ChangeReportOrBuilder>

getDefaultInstanceForType()

public GenerateConfigReportResponse getDefaultInstanceForType()
Returns
TypeDescription
GenerateConfigReportResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDiagnostics(int index)

public Diagnostic getDiagnostics(int index)

Errors / Linter warnings associated with the service definition this report belongs to.

repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Diagnostic

getDiagnosticsBuilder(int index)

public Diagnostic.Builder getDiagnosticsBuilder(int index)

Errors / Linter warnings associated with the service definition this report belongs to.

repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Diagnostic.Builder

getDiagnosticsBuilderList()

public List<Diagnostic.Builder> getDiagnosticsBuilderList()

Errors / Linter warnings associated with the service definition this report belongs to.

repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;

Returns
TypeDescription
List<Builder>

getDiagnosticsCount()

public int getDiagnosticsCount()

Errors / Linter warnings associated with the service definition this report belongs to.

repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;

Returns
TypeDescription
int

getDiagnosticsList()

public List<Diagnostic> getDiagnosticsList()

Errors / Linter warnings associated with the service definition this report belongs to.

repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;

Returns
TypeDescription
List<Diagnostic>

getDiagnosticsOrBuilder(int index)

public DiagnosticOrBuilder getDiagnosticsOrBuilder(int index)

Errors / Linter warnings associated with the service definition this report belongs to.

repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
DiagnosticOrBuilder

getDiagnosticsOrBuilderList()

public List<? extends DiagnosticOrBuilder> getDiagnosticsOrBuilderList()

Errors / Linter warnings associated with the service definition this report belongs to.

repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;

Returns
TypeDescription
List<? extends com.google.api.servicemanagement.v1.DiagnosticOrBuilder>

getId()

public String getId()

ID of the service configuration this report belongs to.

string id = 2;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

ID of the service configuration this report belongs to.

string id = 2;

Returns
TypeDescription
ByteString

The bytes for id.

getServiceName()

public String getServiceName()

Name of the service this report belongs to.

string service_name = 1;

Returns
TypeDescription
String

The serviceName.

getServiceNameBytes()

public ByteString getServiceNameBytes()

Name of the service this report belongs to.

string service_name = 1;

Returns
TypeDescription
ByteString

The bytes for serviceName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GenerateConfigReportResponse other)

public GenerateConfigReportResponse.Builder mergeFrom(GenerateConfigReportResponse other)
Parameter
NameDescription
otherGenerateConfigReportResponse
Returns
TypeDescription
GenerateConfigReportResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeChangeReports(int index)

public GenerateConfigReportResponse.Builder removeChangeReports(int index)

list of ChangeReport, each corresponding to comparison between two service configurations.

repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
GenerateConfigReportResponse.Builder

removeDiagnostics(int index)

public GenerateConfigReportResponse.Builder removeDiagnostics(int index)

Errors / Linter warnings associated with the service definition this report belongs to.

repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
GenerateConfigReportResponse.Builder

setChangeReports(int index, ChangeReport value)

public GenerateConfigReportResponse.Builder setChangeReports(int index, ChangeReport value)

list of ChangeReport, each corresponding to comparison between two service configurations.

repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;

Parameters
NameDescription
indexint
valueChangeReport
Returns
TypeDescription
GenerateConfigReportResponse.Builder

setChangeReports(int index, ChangeReport.Builder builderForValue)

public GenerateConfigReportResponse.Builder setChangeReports(int index, ChangeReport.Builder builderForValue)

list of ChangeReport, each corresponding to comparison between two service configurations.

repeated .google.api.servicemanagement.v1.ChangeReport change_reports = 3;

Parameters
NameDescription
indexint
builderForValueChangeReport.Builder
Returns
TypeDescription
GenerateConfigReportResponse.Builder

setDiagnostics(int index, Diagnostic value)

public GenerateConfigReportResponse.Builder setDiagnostics(int index, Diagnostic value)

Errors / Linter warnings associated with the service definition this report belongs to.

repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;

Parameters
NameDescription
indexint
valueDiagnostic
Returns
TypeDescription
GenerateConfigReportResponse.Builder

setDiagnostics(int index, Diagnostic.Builder builderForValue)

public GenerateConfigReportResponse.Builder setDiagnostics(int index, Diagnostic.Builder builderForValue)

Errors / Linter warnings associated with the service definition this report belongs to.

repeated .google.api.servicemanagement.v1.Diagnostic diagnostics = 4;

Parameters
NameDescription
indexint
builderForValueDiagnostic.Builder
Returns
TypeDescription
GenerateConfigReportResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public GenerateConfigReportResponse.Builder setId(String value)

ID of the service configuration this report belongs to.

string id = 2;

Parameter
NameDescription
valueString

The id to set.

Returns
TypeDescription
GenerateConfigReportResponse.Builder

This builder for chaining.

setIdBytes(ByteString value)

public GenerateConfigReportResponse.Builder setIdBytes(ByteString value)

ID of the service configuration this report belongs to.

string id = 2;

Parameter
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
GenerateConfigReportResponse.Builder

This builder for chaining.

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

public GenerateConfigReportResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GenerateConfigReportResponse.Builder
Overrides

setServiceName(String value)

public GenerateConfigReportResponse.Builder setServiceName(String value)

Name of the service this report belongs to.

string service_name = 1;

Parameter
NameDescription
valueString

The serviceName to set.

Returns
TypeDescription
GenerateConfigReportResponse.Builder

This builder for chaining.

setServiceNameBytes(ByteString value)

public GenerateConfigReportResponse.Builder setServiceNameBytes(ByteString value)

Name of the service this report belongs to.

string service_name = 1;

Parameter
NameDescription
valueByteString

The bytes for serviceName to set.

Returns
TypeDescription
GenerateConfigReportResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateConfigReportResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GenerateConfigReportResponse.Builder
Overrides