public static final class GenerateServiceAgentsRequest.Builder extends GeneratedMessage.Builder<GenerateServiceAgentsRequest.Builder> implements GenerateServiceAgentsRequestOrBuilderMessage for creating all ServiceAgents for a ServiceProducer in a project and location.
Protobuf type google.cloud.workloadidentity.v1.GenerateServiceAgentsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GenerateServiceAgentsRequest.BuilderImplements
GenerateServiceAgentsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GenerateServiceAgentsRequest build()| Returns | |
|---|---|
| Type | Description |
GenerateServiceAgentsRequest |
|
buildPartial()
public GenerateServiceAgentsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GenerateServiceAgentsRequest |
|
clear()
public GenerateServiceAgentsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GenerateServiceAgentsRequest.Builder |
|
clearParent()
public GenerateServiceAgentsRequest.Builder clearParent() Required. The parent resource. The location for the parent resource must
be global.
Examples:
- projects/1234/locations/global/serviceProducers/bigquery.googleapis.com
- folders/2344/locations/global/serviceProducers/vertexai.googleapis.com
- organizations/3344/locations/global/serviceProducers/iam.googleapis.com
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GenerateServiceAgentsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GenerateServiceAgentsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GenerateServiceAgentsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The parent resource. The location for the parent resource must
be global.
Examples:
- projects/1234/locations/global/serviceProducers/bigquery.googleapis.com
- folders/2344/locations/global/serviceProducers/vertexai.googleapis.com
- organizations/3344/locations/global/serviceProducers/iam.googleapis.com
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 resource. The location for the parent resource must
be global.
Examples:
- projects/1234/locations/global/serviceProducers/bigquery.googleapis.com
- folders/2344/locations/global/serviceProducers/vertexai.googleapis.com
- organizations/3344/locations/global/serviceProducers/iam.googleapis.com
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GenerateServiceAgentsRequest other)
public GenerateServiceAgentsRequest.Builder mergeFrom(GenerateServiceAgentsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GenerateServiceAgentsRequest |
| Returns | |
|---|---|
| Type | Description |
GenerateServiceAgentsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateServiceAgentsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateServiceAgentsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GenerateServiceAgentsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GenerateServiceAgentsRequest.Builder |
|
setParent(String value)
public GenerateServiceAgentsRequest.Builder setParent(String value) Required. The parent resource. The location for the parent resource must
be global.
Examples:
- projects/1234/locations/global/serviceProducers/bigquery.googleapis.com
- folders/2344/locations/global/serviceProducers/vertexai.googleapis.com
- organizations/3344/locations/global/serviceProducers/iam.googleapis.com
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateServiceAgentsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public GenerateServiceAgentsRequest.Builder setParentBytes(ByteString value) Required. The parent resource. The location for the parent resource must
be global.
Examples:
- projects/1234/locations/global/serviceProducers/bigquery.googleapis.com
- folders/2344/locations/global/serviceProducers/vertexai.googleapis.com
- organizations/3344/locations/global/serviceProducers/iam.googleapis.com
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 |
GenerateServiceAgentsRequest.Builder |
This builder for chaining. |