public static final class Scope.Builder extends GeneratedMessage.Builder<Scope.Builder> implements ScopeOrBuilderSpecifies the report scope.
Protobuf type google.cloud.appoptimize.v1beta.Scope
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Scope.BuilderImplements
ScopeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Scope build()| Returns | |
|---|---|
| Type | Description |
Scope |
|
buildPartial()
public Scope buildPartial()| Returns | |
|---|---|
| Type | Description |
Scope |
|
clear()
public Scope.Builder clear()| Returns | |
|---|---|
| Type | Description |
Scope.Builder |
|
clearApplication()
public Scope.Builder clearApplication()Required. An App Hub Application to fetch data from.
Format:
"projects/{project}/locations/{location}/applications/{application}".
string application = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Scope.Builder |
This builder for chaining. |
clearProject()
public Scope.Builder clearProject()Required. A Google Cloud Platform project to fetch data from.
Format: "projects/{project}".
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Scope.Builder |
This builder for chaining. |
clearScope()
public Scope.Builder clearScope()| Returns | |
|---|---|
| Type | Description |
Scope.Builder |
|
getApplication()
public String getApplication()Required. An App Hub Application to fetch data from.
Format:
"projects/{project}/locations/{location}/applications/{application}".
string application = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The application. |
getApplicationBytes()
public ByteString getApplicationBytes()Required. An App Hub Application to fetch data from.
Format:
"projects/{project}/locations/{location}/applications/{application}".
string application = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for application. |
getDefaultInstanceForType()
public Scope getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Scope |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getProject()
public String getProject()Required. A Google Cloud Platform project to fetch data from.
Format: "projects/{project}".
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()Required. A Google Cloud Platform project to fetch data from.
Format: "projects/{project}".
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
getScopeCase()
public Scope.ScopeCase getScopeCase()| Returns | |
|---|---|
| Type | Description |
Scope.ScopeCase |
|
hasApplication()
public boolean hasApplication()Required. An App Hub Application to fetch data from.
Format:
"projects/{project}/locations/{location}/applications/{application}".
string application = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the application field is set. |
hasProject()
public boolean hasProject()Required. A Google Cloud Platform project to fetch data from.
Format: "projects/{project}".
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the project field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Scope other)
public Scope.Builder mergeFrom(Scope other)| Parameter | |
|---|---|
| Name | Description |
other |
Scope |
| Returns | |
|---|---|
| Type | Description |
Scope.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Scope.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Scope.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Scope.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Scope.Builder |
|
setApplication(String value)
public Scope.Builder setApplication(String value)Required. An App Hub Application to fetch data from.
Format:
"projects/{project}/locations/{location}/applications/{application}".
string application = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe application to set. |
| Returns | |
|---|---|
| Type | Description |
Scope.Builder |
This builder for chaining. |
setApplicationBytes(ByteString value)
public Scope.Builder setApplicationBytes(ByteString value)Required. An App Hub Application to fetch data from.
Format:
"projects/{project}/locations/{location}/applications/{application}".
string application = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for application to set. |
| Returns | |
|---|---|
| Type | Description |
Scope.Builder |
This builder for chaining. |
setProject(String value)
public Scope.Builder setProject(String value)Required. A Google Cloud Platform project to fetch data from.
Format: "projects/{project}".
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
Scope.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public Scope.Builder setProjectBytes(ByteString value)Required. A Google Cloud Platform project to fetch data from.
Format: "projects/{project}".
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
Scope.Builder |
This builder for chaining. |