public static final class CreateScopeRequest.Builder extends GeneratedMessage.Builder<CreateScopeRequest.Builder> implements CreateScopeRequestOrBuilderRequest to create a Scope.
Protobuf type google.cloud.gkehub.v1.CreateScopeRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateScopeRequest.BuilderImplements
CreateScopeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateScopeRequest build()| Returns | |
|---|---|
| Type | Description |
CreateScopeRequest |
|
buildPartial()
public CreateScopeRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateScopeRequest |
|
clear()
public CreateScopeRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateScopeRequest.Builder |
|
clearParent()
public CreateScopeRequest.Builder clearParent() Required. The parent (project and location) where the Scope will be
created. Specified in the format projects/*/locations/*.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateScopeRequest.Builder |
This builder for chaining. |
clearScope()
public CreateScopeRequest.Builder clearScope()Required. The Scope to create.
.google.cloud.gkehub.v1.Scope scope = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateScopeRequest.Builder |
|
clearScopeId()
public CreateScopeRequest.Builder clearScopeId() Required. Client chosen ID for the Scope. scope_id must be a
????
string scope_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateScopeRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateScopeRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateScopeRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The parent (project and location) where the Scope will be
created. Specified in the format projects/*/locations/*.
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 (project and location) where the Scope will be
created. Specified in the format projects/*/locations/*.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getScope()
public Scope getScope()Required. The Scope to create.
.google.cloud.gkehub.v1.Scope scope = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Scope |
The scope. |
getScopeBuilder()
public Scope.Builder getScopeBuilder()Required. The Scope to create.
.google.cloud.gkehub.v1.Scope scope = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Scope.Builder |
|
getScopeId()
public String getScopeId() Required. Client chosen ID for the Scope. scope_id must be a
????
string scope_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The scopeId. |
getScopeIdBytes()
public ByteString getScopeIdBytes() Required. Client chosen ID for the Scope. scope_id must be a
????
string scope_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for scopeId. |
getScopeOrBuilder()
public ScopeOrBuilder getScopeOrBuilder()Required. The Scope to create.
.google.cloud.gkehub.v1.Scope scope = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ScopeOrBuilder |
|
hasScope()
public boolean hasScope()Required. The Scope to create.
.google.cloud.gkehub.v1.Scope scope = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the scope field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateScopeRequest other)
public CreateScopeRequest.Builder mergeFrom(CreateScopeRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateScopeRequest |
| Returns | |
|---|---|
| Type | Description |
CreateScopeRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateScopeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateScopeRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateScopeRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateScopeRequest.Builder |
|
mergeScope(Scope value)
public CreateScopeRequest.Builder mergeScope(Scope value)Required. The Scope to create.
.google.cloud.gkehub.v1.Scope scope = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Scope |
| Returns | |
|---|---|
| Type | Description |
CreateScopeRequest.Builder |
|
setParent(String value)
public CreateScopeRequest.Builder setParent(String value) Required. The parent (project and location) where the Scope will be
created. Specified in the format projects/*/locations/*.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateScopeRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateScopeRequest.Builder setParentBytes(ByteString value) Required. The parent (project and location) where the Scope will be
created. Specified in the format projects/*/locations/*.
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 |
CreateScopeRequest.Builder |
This builder for chaining. |
setScope(Scope value)
public CreateScopeRequest.Builder setScope(Scope value)Required. The Scope to create.
.google.cloud.gkehub.v1.Scope scope = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Scope |
| Returns | |
|---|---|
| Type | Description |
CreateScopeRequest.Builder |
|
setScope(Scope.Builder builderForValue)
public CreateScopeRequest.Builder setScope(Scope.Builder builderForValue)Required. The Scope to create.
.google.cloud.gkehub.v1.Scope scope = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Scope.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateScopeRequest.Builder |
|
setScopeId(String value)
public CreateScopeRequest.Builder setScopeId(String value) Required. Client chosen ID for the Scope. scope_id must be a
????
string scope_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe scopeId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateScopeRequest.Builder |
This builder for chaining. |
setScopeIdBytes(ByteString value)
public CreateScopeRequest.Builder setScopeIdBytes(ByteString value) Required. Client chosen ID for the Scope. scope_id must be a
????
string scope_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for scopeId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateScopeRequest.Builder |
This builder for chaining. |