public static final class CreateViewRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateViewRequest.Builder> implements CreateViewRequestOrBuilder
The parameters to `CreateView`.Protobuf type
google.logging.v2.CreateViewRequest
Modifier and Type | Method and Description |
---|---|
CreateViewRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateViewRequest |
build() |
CreateViewRequest |
buildPartial() |
CreateViewRequest.Builder |
clear() |
CreateViewRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CreateViewRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CreateViewRequest.Builder |
clearParent()
Required.
|
CreateViewRequest.Builder |
clearView()
Required.
|
CreateViewRequest.Builder |
clearViewId()
Required.
|
CreateViewRequest.Builder |
clone() |
CreateViewRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
LogView |
getView()
Required.
|
LogView.Builder |
getViewBuilder()
Required.
|
String |
getViewId()
Required.
|
com.google.protobuf.ByteString |
getViewIdBytes()
Required.
|
LogViewOrBuilder |
getViewOrBuilder()
Required.
|
boolean |
hasView()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CreateViewRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CreateViewRequest.Builder |
mergeFrom(CreateViewRequest other) |
CreateViewRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CreateViewRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CreateViewRequest.Builder |
mergeView(LogView value)
Required.
|
CreateViewRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateViewRequest.Builder |
setParent(String value)
Required.
|
CreateViewRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
CreateViewRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CreateViewRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CreateViewRequest.Builder |
setView(LogView.Builder builderForValue)
Required.
|
CreateViewRequest.Builder |
setView(LogView value)
Required.
|
CreateViewRequest.Builder |
setViewId(String value)
Required.
|
CreateViewRequest.Builder |
setViewIdBytes(com.google.protobuf.ByteString value)
Required.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateViewRequest.Builder>
public CreateViewRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateViewRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateViewRequest.Builder>
public CreateViewRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CreateViewRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CreateViewRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CreateViewRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateViewRequest.Builder>
public CreateViewRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateViewRequest.Builder>
public CreateViewRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateViewRequest.Builder>
public CreateViewRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateViewRequest.Builder>
public CreateViewRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateViewRequest.Builder>
public CreateViewRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateViewRequest.Builder>
public CreateViewRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CreateViewRequest.Builder>
public CreateViewRequest.Builder mergeFrom(CreateViewRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateViewRequest.Builder>
public CreateViewRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CreateViewRequest.Builder>
IOException
public String getParent()
Required. The bucket in which to create the view `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"` For example: `"projects/my-project/locations/global/buckets/my-bucket"`
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
getParent
in interface CreateViewRequestOrBuilder
public com.google.protobuf.ByteString getParentBytes()
Required. The bucket in which to create the view `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"` For example: `"projects/my-project/locations/global/buckets/my-bucket"`
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
getParentBytes
in interface CreateViewRequestOrBuilder
public CreateViewRequest.Builder setParent(String value)
Required. The bucket in which to create the view `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"` For example: `"projects/my-project/locations/global/buckets/my-bucket"`
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The parent to set.public CreateViewRequest.Builder clearParent()
Required. The bucket in which to create the view `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"` For example: `"projects/my-project/locations/global/buckets/my-bucket"`
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
public CreateViewRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The bucket in which to create the view `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"` For example: `"projects/my-project/locations/global/buckets/my-bucket"`
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for parent to set.public String getViewId()
Required. A client-assigned identifier such as `"my-view"`. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
string view_id = 2 [(.google.api.field_behavior) = REQUIRED];
getViewId
in interface CreateViewRequestOrBuilder
public com.google.protobuf.ByteString getViewIdBytes()
Required. A client-assigned identifier such as `"my-view"`. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
string view_id = 2 [(.google.api.field_behavior) = REQUIRED];
getViewIdBytes
in interface CreateViewRequestOrBuilder
public CreateViewRequest.Builder setViewId(String value)
Required. A client-assigned identifier such as `"my-view"`. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
string view_id = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The viewId to set.public CreateViewRequest.Builder clearViewId()
Required. A client-assigned identifier such as `"my-view"`. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
string view_id = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateViewRequest.Builder setViewIdBytes(com.google.protobuf.ByteString value)
Required. A client-assigned identifier such as `"my-view"`. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
string view_id = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for viewId to set.public boolean hasView()
Required. The new view.
.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];
hasView
in interface CreateViewRequestOrBuilder
public LogView getView()
Required. The new view.
.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];
getView
in interface CreateViewRequestOrBuilder
public CreateViewRequest.Builder setView(LogView value)
Required. The new view.
.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];
public CreateViewRequest.Builder setView(LogView.Builder builderForValue)
Required. The new view.
.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];
public CreateViewRequest.Builder mergeView(LogView value)
Required. The new view.
.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];
public CreateViewRequest.Builder clearView()
Required. The new view.
.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];
public LogView.Builder getViewBuilder()
Required. The new view.
.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];
public LogViewOrBuilder getViewOrBuilder()
Required. The new view.
.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];
getViewOrBuilder
in interface CreateViewRequestOrBuilder
public final CreateViewRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateViewRequest.Builder>
public final CreateViewRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateViewRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.