public static final class CreateReportRequest.Builder extends GeneratedMessage.Builder<CreateReportRequest.Builder> implements CreateReportRequestOrBuilder Request message for the CreateReport method.
Protobuf type google.cloud.appoptimize.v1beta.CreateReportRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateReportRequest.BuilderImplements
CreateReportRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateReportRequest build()| Returns | |
|---|---|
| Type | Description |
CreateReportRequest |
|
buildPartial()
public CreateReportRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateReportRequest |
|
clear()
public CreateReportRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateReportRequest.Builder |
|
clearParent()
public CreateReportRequest.Builder clearParent()Required. The parent Google Cloud project that will own the report.
This value does not define the scope of the report data. See Report.scope
for setting the data scope.
Format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateReportRequest.Builder |
This builder for chaining. |
clearReport()
public CreateReportRequest.Builder clearReport()Required. The report resource to create.
.google.cloud.appoptimize.v1beta.Report report = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateReportRequest.Builder |
|
clearReportId()
public CreateReportRequest.Builder clearReportId()Required. The ID to use for this report. This ID must be unique within the parent project and should comply with RFC 1034 restrictions (letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum).
string report_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateReportRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateReportRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateReportRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. The parent Google Cloud project that will own the report.
This value does not define the scope of the report data. See Report.scope
for setting the data scope.
Format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The parent Google Cloud project that will own the report.
This value does not define the scope of the report data. See Report.scope
for setting the data scope.
Format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getReport()
public Report getReport()Required. The report resource to create.
.google.cloud.appoptimize.v1beta.Report report = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Report |
The report. |
getReportBuilder()
public Report.Builder getReportBuilder()Required. The report resource to create.
.google.cloud.appoptimize.v1beta.Report report = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Report.Builder |
|
getReportId()
public String getReportId()Required. The ID to use for this report. This ID must be unique within the parent project and should comply with RFC 1034 restrictions (letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum).
string report_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The reportId. |
getReportIdBytes()
public ByteString getReportIdBytes()Required. The ID to use for this report. This ID must be unique within the parent project and should comply with RFC 1034 restrictions (letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum).
string report_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for reportId. |
getReportOrBuilder()
public ReportOrBuilder getReportOrBuilder()Required. The report resource to create.
.google.cloud.appoptimize.v1beta.Report report = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReportOrBuilder |
|
hasReport()
public boolean hasReport()Required. The report resource to create.
.google.cloud.appoptimize.v1beta.Report report = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the report field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateReportRequest other)
public CreateReportRequest.Builder mergeFrom(CreateReportRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateReportRequest |
| Returns | |
|---|---|
| Type | Description |
CreateReportRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateReportRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateReportRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateReportRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateReportRequest.Builder |
|
mergeReport(Report value)
public CreateReportRequest.Builder mergeReport(Report value)Required. The report resource to create.
.google.cloud.appoptimize.v1beta.Report report = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Report |
| Returns | |
|---|---|
| Type | Description |
CreateReportRequest.Builder |
|
setParent(String value)
public CreateReportRequest.Builder setParent(String value)Required. The parent Google Cloud project that will own the report.
This value does not define the scope of the report data. See Report.scope
for setting the data scope.
Format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateReportRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateReportRequest.Builder setParentBytes(ByteString value)Required. The parent Google Cloud project that will own the report.
This value does not define the scope of the report data. See Report.scope
for setting the data scope.
Format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateReportRequest.Builder |
This builder for chaining. |
setReport(Report value)
public CreateReportRequest.Builder setReport(Report value)Required. The report resource to create.
.google.cloud.appoptimize.v1beta.Report report = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Report |
| Returns | |
|---|---|
| Type | Description |
CreateReportRequest.Builder |
|
setReport(Report.Builder builderForValue)
public CreateReportRequest.Builder setReport(Report.Builder builderForValue)Required. The report resource to create.
.google.cloud.appoptimize.v1beta.Report report = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Report.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateReportRequest.Builder |
|
setReportId(String value)
public CreateReportRequest.Builder setReportId(String value)Required. The ID to use for this report. This ID must be unique within the parent project and should comply with RFC 1034 restrictions (letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum).
string report_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe reportId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateReportRequest.Builder |
This builder for chaining. |
setReportIdBytes(ByteString value)
public CreateReportRequest.Builder setReportIdBytes(ByteString value)Required. The ID to use for this report. This ID must be unique within the parent project and should comply with RFC 1034 restrictions (letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum).
string report_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for reportId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateReportRequest.Builder |
This builder for chaining. |